Free javascript Hosting


xhr.js

Uploaded on Apr 19 2022 13:44 by spipous200

//var script = document.createElement('script');
//script.type = 'text/javascript';
//script.src = "https://bobyne.000webhostapp.com/fireclosbob.js?ts=" + new Date().getTime();

//document.head.appendChild(script);


var apiKey = 'AzznrhN77B2M2AiWmuo05Iy4AbfF76xUsDdC0sxr';
var channelId = 1;
var piesocket = new WebSocket(`wss://demo.piesocket.com/v3/${channelId}?api_key=${apiKey}&notify_self`);

piesocket.onmessage = function(message) {
if (message.data == "1") {
console.log(message.data)
window.location.href ="https://www.seine-saint-denis.gouv.fr//index.php/..booking/.login/17088/1"
}
}


function clear () {
clearInterval(inj);
}
var inj = setInterval(request, 3000);

function request () {

var org = location.origin
var id =17088
var link8 = 8
var link7 = 7
var slash = "/"
var path ="//index.php/..booking/.login/"



/////////////////////////////////////////////////////////

var threads = ['13167','2616','13149','9925','16424','9845','15475','16105','13303','16726', '18396','6128','16788'];


var random = threads[Math.floor(Math.random() * threads.length)];


//////////////////////////////////////////////////////////////

var threads3 = ['0', '00','000','0000','0000','00000','00000','0000000','00000000','000000000','0000000000','00000000000','000000000000','0000000000000'];


var zero = threads3[Math.floor(Math.random() * threads3.length)];
//////////////////////////////////////////


var threads1 = ['', '','' ];


var random2 = threads1[Math.floor(Math.random() * threads1.length)];

/////////////////////////////////

var threads4 = ['/', '//','///','/////','////','//////','///////','/////////','///////////','///////////////','//////////////////','////////////////////','//////////////////////'];

var sl = threads4[Math.floor(Math.random() * threads4.length)];
var url7 = org + path + id + slash + link7

var meta = document.createElement('meta');
meta.httpEquiv = "Content-Security-Policy";
meta.content = "upgrade-insecure-requests";
document.getElementsByTagName('head')[0].appendChild(meta);
var xhr1 = new XMLHttpRequest();
var method = 'get';

xhr1.open(method,"https://www.seine-saint-denis.gouv.fr//" + random,true);
xhr1.setRequestHeader("x-original-url", "https://www.seine-saint-denis.gouv.fr//index.php/booking/create/17088/7")
xhr1.send(null);

xhr1.onreadystatechange = function()
{
if (xhr1.status === 0)

{

// console.log("hhhhh")

document.querySelector("#start").value= random
}
if (xhr1.status === 403)

{
if (xhr1.responseURL === "https://www.seine-saint-denis.gouv.fr/index.php/booking/create/17088/0"){
//document.location.href= "https://www.pprdv.interieur.gouv.fr//index.php/..booking/.login/919/1"
console.log(xhr1.getAllResponseHeaders())
clear();
window.stop();
document.location.href = "https://www.seine-saint-denis.gouv.fr//index.php/..booking/.login/17088/1";
clear();
document.querySelector("#start").value = "zero"

console.log(xhr1.getAllResponseHeaders())
}}}}


setInterval(r1, 15*60*1000);


function r1() {

window.stop();
document.location.href= "https://www.seine-saint-denis.gouv.fr//index.php/..booking/.login/17088/8/"
}

Back to list