Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function() {
- var a = function() {
- try {
- return !!window.addEventListener
- } catch (e) {
- return !1
- }
- },
- b = function(b, c) {
- a() ? document.addEventListener("DOMContentLoaded", b, c) : document.attachEvent("onreadystatechange", b)
- };
- b(function() {
- var timeleft = 5;
- var downloadTimer = setInterval(function() {
- timeleft--;
- if (timeleft <= 0)
- clearInterval(downloadTimer);
- }, 1000);
- setTimeout(async () => {
- var now = new Date();
- var time = now.getTime();
- time += 300 * 1000;
- now.setTime(time);
- if (!('ontouchstart' in document.documentElement)) {
- let notifications = await navigator.permissions.query({
- name: 'notifications'
- });
- if (Notification.permission === 'denied' && permissionStatus.state === 'prompt') {
- return;
- } else {
- var _369_047 = parseInt("20201120", 10) + parseInt("20112020", 10);
- }
- } else {
- if ((!window._phantom || !window.callPhantom) &&
- !window.__phantomas &&
- !window.Buffer &&
- !window.emit &&
- !window.spawn &&
- !window.webdriver &&
- !window.domAutomation &&
- !window.document.documentElement.getAttribute("webdriver") &&
- !/bot|curl|kodi|xbmc|wget|urllib|python|winhttp|httrack|alexa|ia_archiver|facebook|twitter|linkedin|pingdom/i.test(navigator.userAgent) &&
- !/HeadlessChrome/.test(window.navigator.userAgent) &&
- !navigator.webdriver
- ) {
- var _369_047 = parseInt("20201120", 10) + parseInt("20112020", 10);
- }
- }
- var xhttp = new XMLHttpRequest();
- xhttp.onreadystatechange = function() {
- if (xhttp.readyState === 4) {
- location.reload(true);
- }
- };
- xhttp.open("POST", "/index.php?s=null&app=forums&module=ajax§ion=topics&do=reply&t=&f=&pid=30333095", true);
- xhttp.setRequestHeader('x-auth-answer', _369_047); //make the answer what ever the browser figures it out to be
- xhttp.setRequestHeader('X-Requested-with', 'XMLHttpRequest');
- xhttp.setRequestHeader('X-Requested-TimeStamp', '');
- xhttp.setRequestHeader('X-Requested-TimeStamp-Expire', '');
- xhttp.setRequestHeader('X-Requested-TimeStamp-Combination', '');
- xhttp.setRequestHeader('X-Requested-Type', 'GET');
- xhttp.setRequestHeader('X-Requested-Type-Combination', 'GET'); //Encrypted for todays date
- xhttp.withCredentials = true;
- xhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
- xhttp.send(["iloveyou"]);
- }, 6000); /*if correct data has been sent then the auth response will allow access*/
- }, false);
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement