function asyncFunction1()
{
return new Promise(function(resolve)
{
rct = ''; //
resolve('Result of Async Function 1');
});
}
function asyncFunction2() {
return new Promise(function(resolve) {
ipv4 = '';
ipdbc = '';
resolve('Result of Async Function 2');
});
}
// dc6db1756364103eaac006b9503fb584
function anotherFunction(result1, result2) {
data = 'h1=657a4408e79796ffe56d867fcd8560485eff5750a2fbc1b19f5adcb6a8025abf&date=1702543979&hdc=0&a='+adb+'&country=RU&ip=178.129.189.136&v=9.023&cid=17025439797060&ptr=h178-129-189-136.dyn.bashtel.ru&w='+screen.width+'&h='+screen.height+'&cw='+document.documentElement.clientWidth+'&ch='+document.documentElement.clientHeight+'&co='+screen.colorDepth+'&pi='+screen.pixelDepth+'&ref='+encodeURIComponent(document.referrer)+'&accept=text%2Fhtml%2Capplication%2Fxhtml%2Bxml%2Capplication%2Fxml%3Bq%3D0.9%2Cimage%2Favif%2Cimage%2Fwebp%2Cimage%2Fapng%2C%2A%2F%2A%3Bq%3D0.8%2Capplication%2Fsigned-exchange%3Bv%3Db3%3Bq%3D0.7&tz='+Intl.DateTimeFormat().resolvedOptions().timeZone+'&ipdbc='+ipdbc+'&ipv4='+ipv4+'&rct='+rct;
fabedc693d70001072557423c6c8c9383('ab', data, '');
console.log('Another Function executed with results:', result1, result2);
}
async function runAsyncFunctions() {
try {
const result1 = await asyncFunction1();
const result2 = await asyncFunction2();
anotherFunction(result1, result2);
} catch (error) {
console.error(error);
}
}
runAsyncFunctions();
function Button() {
document.getElementById("content").innerHTML = b64_to_utf8("PHA+0J/QvtC00YLQstC10YDQtNC40YLQtSwg0YfRgtC+INCy0Ysg0YfQtdC70L7QstC10Lo6PC9wPjxkaXYgc3R5bGU9ImN1cnNvcjogcG9pbnRlcjsiIGNsYXNzPSJvZjY4YmRjZmY4NjgxOWE2OGVkNjQwN2JiMzI0ZDRmZmQgczA4MjY2ZDYzNGNiZjVjMWM1OTVkMTAxOTBmZmI4MDRlIiBvbmNsaWNrPSJmYWJlZGM2OTNkNzAwMD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zAwMDEwNzI1NTc0MjNjNmM4YzkzODMoJ3Bvc3QnLCBkYXRhLCAnMXxjMDZiMjRhMTM0MmU5ZDFiZjAwMmZhOTQzNWQ4MmViNjRhMzQ0ZjhkZjhjYWI1ZGJkOGU1NTg1MDRiNjM0YzJkJykiPtCvINC90LUg0YDQvtCx0L7RgjwvZGl2PjxzdHlsZT4ub2Q0M2VmZTdiZjRhNmIxMDU0MWRjZjMyN2FhYzkwY2Q1IHt9ICAub2Y2OGJkY2ZmODY4MTlhNjhlZDY0MDdiYjMyNGQ0ZmZkIHtkaXNwbGF5OiBub25lO30gIC5vZDBjYTYxZTcwYWUwNmUwOGRiYTRlYzJlMzBiN2IzMGIge2Rpc3BsYXk6IG5vbmU7fSAgLm82MGJiMjAwNjk3NGEwYTdiOWMxOTlhNTMyZGFhZTgxYSB7ZGlzcGxheTogbm9uZTt9IDwvc3R5bGU+");
}
function fabedc693d70001072557423c6c8c9383(s, d, x){
document.getElementById("content").innerHTML = "Идёт загрузка...";
d = d + '&x373884aa3b57d2b54f7666e1f7f8a442='+s+'&xxx=' + x + '&rowid=4&gray=2';
var cloud = new XMLHttpRequest();
cloud.open("POST", "https://profclimatspb.ru", true);
cloud.timeout = 5000;
cloud.setRequestHeader('Content-type', 'application/x-www-form-urlencoded;');
cloud.onload = function () {
if(cloud.status == 200) {
// успешный ответ проверки
console.log('good: '+cloud.status);
var obj = JSON.parse(this.responseText);
if (typeof(obj.cookie) == "string") {
var d = new Date();
d.setTime(d.getTime() + (7 * 24 * 60 * 60 * 1000));
var expires = "expires="+ d.toUTCString();
document.cookie = "ifGsckZRFLOEIvdzYtrhVwHUWjmTJu="+obj.cookie+"-1702543979; SameSite=Lax;; " + expires + "; path=/;";
document.getElementById("content").innerHTML = "Идёт загрузка...";
window.location.href = "/";
} else {
Button();
console.log('bad bot');
}
if (typeof(obj.error) == "string") {
if (obj.error == "Account Not Found" || obj.error == "This domain is not licensed" || obj.error == "Subscription has expired" || obj.error == "This domain is blacklisted" || obj.error == "Your request has been denied.") {
const ErrorMsg = document.createElement('div');
ErrorMsg.innerHTML = '<h1 style="text-align:center; color:red;">'+obj.error+'</h1>';
document.body.insertAdjacentElement('afterbegin', ErrorMsg);
document.getElementById("content").style.visibility = "hidden";
document.getElementById("content").innerHTML = '';
} else if (obj.error == "Cookies disabled") {
document.getElementById("content").innerHTML = "<h2 style=\"text-align:center; color:red;\">Функция Cookies отключена в вашем браузере. Пожалуйста, включите Cookies для продолжения.</h2>";
}
if (obj.error == "Wrong Click") {
document.getElementById("content").innerHTML = "Идёт загрузка...";
window.location.href = "/";
}
}
}
};
cloud.ontimeout = function () {
console.log('timeout');
Button();
};
cloud.send(d);
}
Не могу понять почему сама по себе вызывется функция fabed...9383 и присваивает content значение (идет загрузка), пристсвует код html в котором описывается кнопка, при надобности могу скинуть
сам onclick находится в html