diff --git a/Bypass_All_Shortlinks.meta.js b/Bypass_All_Shortlinks.meta.js index 8d2f2ea..8d39cd3 100644 --- a/Bypass_All_Shortlinks.meta.js +++ b/Bypass_All_Shortlinks.meta.js @@ -4,7 +4,7 @@ // @run-at document-start // @author Amm0ni4 // @noframes -// @version 93.7.9 +// @version 93.7.10 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle @@ -697,6 +697,7 @@ // @match https://tonordersitye.com/s?* // @match https://daughablelea.com/s?* // @match https://linkvertise.com/* +// @match *://bstlar.com/* // @match https://bypass.city/bypass?bypass=* // @match https://adbypass.org/bypass?bypass=* // @match https://fc-lc.xyz/* diff --git a/Bypass_All_Shortlinks.user.js b/Bypass_All_Shortlinks.user.js index 29f4666..4ca69e1 100644 --- a/Bypass_All_Shortlinks.user.js +++ b/Bypass_All_Shortlinks.user.js @@ -4,7 +4,7 @@ // @run-at document-start // @author Amm0ni4 // @noframes -// @version 93.7.9 +// @version 93.7.10 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle @@ -697,6 +697,7 @@ // @match https://tonordersitye.com/s?* // @match https://daughablelea.com/s?* // @match https://linkvertise.com/* +// @match *://bstlar.com/* // @match https://bypass.city/bypass?bypass=* // @match https://adbypass.org/bypass?bypass=* // @match https://fc-lc.xyz/* @@ -1736,6 +1737,69 @@ // ----- ------ ---------- +// ----- Bypass bstlar ------ +// adapted to userscript from code by harryitz for FastForward +// https://github.com/FastForwardTeam/FastForward/commit/89fb43ce12718b3d83edb0eb5abec4c683c16925 +(function() { + 'use strict'; + + if (/bstlar.com/.test(window.location.href)) { + + function getCookie(name) { + let value = '; ' + document.cookie; + let parts = value.split('; ' + name + '='); + if (parts.length === 2) return parts.pop().split(';').shift(); + } + + async function handleRedirect(data) { + if (data.currentTarget?.responseText?.includes('tasks')) { + const response = JSON.parse(data.currentTarget.responseText); + const userAgent = navigator.userAgent; + const XSRF_TOKEN = getCookie('XSRF-TOKEN'); + const boostellar_session = getCookie('boostellar_session'); + const PfufeQwMeP6og9Poi7DmjbGJCcYhyXKQhlPnQ4Ud = getCookie('PfufeQwMeP6og9Poi7DmjbGJCcYhyXKQhlPnQ4Ud'); + const cf_clearance = getCookie('cf_clearance'); + const task_request = await fetch('https://bstlar.com/api/link-completed', { + method: 'POST', + headers: { + accept: 'application/json, text/plain, */*', + authorization: 'null', + cookie: `XSRF-TOKEN=${XSRF_TOKEN}; boostellar_session=${boostellar_session}; PfufeQwMeP6og9Poi7DmjbGJCcYhyXKQhlPnQ4Ud=${PfufeQwMeP6og9Poi7DmjbGJCcYhyXKQhlPnQ4Ud}; cf_clearance=${cf_clearance}`, + origin: 'https://bstlar.com', + pragma: 'no-cache', + priority: 'u=1, i', + referer: 'https://bstlar.com/hV/krampus', + 'user-agent': userAgent, + 'x-xsrf-token': XSRF_TOKEN, + 'Content-Type': 'application/json' + }, + body: JSON.stringify({ + link_id: response['link']['id'] + }) + }); + + if (task_request.status !== 200) return; + const task_response = await task_request.text(); + window.location.href = task_response; + } + } + + function interceptXHR() { + const open = XMLHttpRequest.prototype.open; + XMLHttpRequest.prototype.open = function() { + this.addEventListener("load", function(data) { + handleRedirect(data); + }); + open.apply(this, arguments); + }; + } + + interceptXHR(); + } + +})(); +// ----- ------ ---------- + //---Bypass.city clickable result---- (function() { 'use strict'; diff --git a/extra_bypasses/bstlar.user.js b/extra_bypasses/bstlar.user.js new file mode 100644 index 0000000..b93bf4e --- /dev/null +++ b/extra_bypasses/bstlar.user.js @@ -0,0 +1,68 @@ +// ==UserScript== +// @name BSTLAR Bypass +// @match *://bstlar.com/* +// @run-at document-start +// ==/UserScript== + +// ----- Bypass bstlar ------ +// adapted to userscript from code by harryitz for FastForward +// https://github.com/FastForwardTeam/FastForward/commit/89fb43ce12718b3d83edb0eb5abec4c683c16925 +(function() { + 'use strict'; + + if (/bstlar.com/.test(window.location.href)) { + + function getCookie(name) { + let value = '; ' + document.cookie; + let parts = value.split('; ' + name + '='); + if (parts.length === 2) return parts.pop().split(';').shift(); + } + + async function handleRedirect(data) { + if (data.currentTarget?.responseText?.includes('tasks')) { + const response = JSON.parse(data.currentTarget.responseText); + const userAgent = navigator.userAgent; + const XSRF_TOKEN = getCookie('XSRF-TOKEN'); + const boostellar_session = getCookie('boostellar_session'); + const PfufeQwMeP6og9Poi7DmjbGJCcYhyXKQhlPnQ4Ud = getCookie('PfufeQwMeP6og9Poi7DmjbGJCcYhyXKQhlPnQ4Ud'); + const cf_clearance = getCookie('cf_clearance'); + const task_request = await fetch('https://bstlar.com/api/link-completed', { + method: 'POST', + headers: { + accept: 'application/json, text/plain, */*', + authorization: 'null', + cookie: `XSRF-TOKEN=${XSRF_TOKEN}; boostellar_session=${boostellar_session}; PfufeQwMeP6og9Poi7DmjbGJCcYhyXKQhlPnQ4Ud=${PfufeQwMeP6og9Poi7DmjbGJCcYhyXKQhlPnQ4Ud}; cf_clearance=${cf_clearance}`, + origin: 'https://bstlar.com', + pragma: 'no-cache', + priority: 'u=1, i', + referer: 'https://bstlar.com/hV/krampus', + 'user-agent': userAgent, + 'x-xsrf-token': XSRF_TOKEN, + 'Content-Type': 'application/json' + }, + body: JSON.stringify({ + link_id: response['link']['id'] + }) + }); + + if (task_request.status !== 200) return; + const task_response = await task_request.text(); + window.location.href = task_response; + } + } + + function interceptXHR() { + const open = XMLHttpRequest.prototype.open; + XMLHttpRequest.prototype.open = function() { + this.addEventListener("load", function(data) { + handleRedirect(data); + }); + open.apply(this, arguments); + }; + } + + interceptXHR(); + } + +})(); +// ----- ------ ---------- diff --git a/supported_sites.txt b/supported_sites.txt index 4db2b48..3ae2044 100644 --- a/supported_sites.txt +++ b/supported_sites.txt @@ -678,6 +678,7 @@ https://bleleadersto.com/s?* https://tonordersitye.com/s?* https://daughablelea.com/s?* https://linkvertise.com/* +*://bstlar.com/* https://bypass.city/bypass?bypass=* https://adbypass.org/bypass?bypass=* https://fc-lc.xyz/* diff --git a/untouched_Bypass_All_Shortlinks_patched.user.js b/untouched_Bypass_All_Shortlinks_patched.user.js index 8aebe7b..b88562e 100644 --- a/untouched_Bypass_All_Shortlinks_patched.user.js +++ b/untouched_Bypass_All_Shortlinks_patched.user.js @@ -37,7 +37,7 @@ // @namespace Violentmonkey Scripts // @run-at document-start // @author Bloggerpemula -// @version 93.7.9 +// @version 93.7.10 // @match *://*/* // @grant GM_setValue // @grant GM_getValue