LynXS_

Untitled

Apr 7th, 2024
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.49 KB | None | 0 0
  1. // ==UserScript==
  2. // @name FileDM, Boostellar, Work.ink, Linkvertise, SocialWolvez, Leasurepartment, etc bypasser!
  3. // @namespace TheCtkHoster
  4. // @version 3.0
  5. // @description Skip annoying downloads and actions and get your content in less than 2 seconds! [Got help from FastForward]
  6. // @author TheCtkHoster (Async#4226) | Portal (woah24 Discord) | FastForwardTeam
  7. // @match *://filedm.com/*
  8. // @match *://bstlar.com/*
  9. // @match *://adshnk.com/*
  10. // @match *://adshrink.it/*
  11. // @match *://*.work.ink/*
  12. // @exclude *://redirect-api.work.ink/*
  13. // @exclude *://work.ink
  14. // @match *://*.linkvertise.com/*
  15. // @match *://*.sub2unlock.com/*
  16. // @match *://*.socialwolvez.com/*
  17. // @match *://*.mboost.me/*
  18. // @match *://*.leasurepartment.xyz/*
  19. // @grant none
  20. // @icon https://cdn-icons-png.flaticon.com/512/6360/6360303.png
  21. // @license MIT
  22. // @downloadURL https://update.greasyfork.org/scripts/490659/FileDM%2C%20Boostellar%2C%20Workink%2C%20Linkvertise%2C%20SocialWolvez%2C%20Leasurepartment%2C%20etc%20bypasser%21.user.js
  23. // @updateURL https://update.greasyfork.org/scripts/490659/FileDM%2C%20Boostellar%2C%20Workink%2C%20Linkvertise%2C%20SocialWolvez%2C%20Leasurepartment%2C%20etc%20bypasser%21.meta.js
  24. // ==/UserScript==
  25.  
  26. (function() {
  27. 'use strict';
  28.  
  29. // Credits to FastForwardTeam Github and Portal (woah24 on Discord)
  30.  
  31. const linkElement = document.createElement('link');
  32. linkElement.rel = 'stylesheet';
  33. linkElement.href = 'https://cdn.jsdelivr.net/npm/@sweetalert2/theme-dark@5/dark.css';
  34.  
  35. const scriptElement = document.createElement('script');
  36. scriptElement.src = 'https://cdn.jsdelivr.net/npm/sweetalert2@11/dist/sweetalert2.min.js';
  37.  
  38. document.head.appendChild(linkElement);
  39. document.head.appendChild(scriptElement);
  40.  
  41. scriptElement.onload = function() {
  42.  
  43. if (window.location.hostname === "filedm.com") {
  44. // Bypass FileDM
  45. const dlButton = document.querySelector('a#dlbutton');
  46.  
  47. if (dlButton) {
  48. const hrefValue = dlButton.getAttribute('href');
  49.  
  50. if (hrefValue) {
  51. window.open(`https://filedm.com/${hrefValue}`, '_blank', 'width=500,height=300');
  52. Swal.fire({
  53. title: "Cancel the file you downloaded",
  54. text: "Enter the long number from the canceled executable file's name (found after the underscore before .exe):",
  55. input: 'text',
  56. inputPlaceholder: 'Type here...',
  57. showCancelButton: true,
  58. confirmButtonText: 'Submit'
  59. }).then((result) => {
  60. if (result.isConfirmed) {
  61. const userInput = result.value;
  62. Swal.fire({
  63. title: 'Click OK to redirect to your download!',
  64. icon: 'success',
  65. showConfirmButton: true
  66. }).then(() => {
  67. document.write(`http://cdn.directfiledl.com/getfile?id=${userInput}`);
  68. window.location.replace(document.body.textContent);
  69. setTimeout(function() {
  70. window.location.href = "https://pastebin.com/raw/MveJaqKn";
  71. }, 2000);
  72. });
  73. } else {
  74. window.open("https://pastebin.com/raw/zd84dCKW", "_blank");
  75. }
  76. });
  77. } else {
  78. Swal.fire({
  79. title: 'Error!',
  80. text: 'Could not download the file. Please try refreshing the page.',
  81. icon: 'error',
  82. showConfirmButton: true
  83. });
  84. }
  85. }
  86. } else if (window.location.hostname === "bstlar.com") {
  87. // Bypass Boostellar
  88. const boostellar_link = encodeURIComponent(location.pathname.slice(1));
  89. fetch(`https://bstlar.com/api/link?url=${boostellar_link}`)
  90. .then(res => res.json())
  91. .then(res => {
  92. if (res?.link?.destination_url) {
  93. Swal.fire({
  94. title: 'Bypassed! Click OK to reach your destination [Destination appears to be a URL]',
  95. icon: 'success',
  96. showConfirmButton: true
  97. }).then(() => {
  98. window.location.replace(res.link.destination_url);
  99. })
  100. } else if (res?.link?.hash) {
  101. Swal.fire({
  102. title: 'Bypassed! Click OK to get redirected to your content! [Destination appears to be a paste]',
  103. icon: 'success',
  104. showConfirmButton: true,
  105. }).then(() => {
  106. window.location.replace(`https://bstlar.com/text/${res.link.hash}`);
  107. })
  108. }
  109. });
  110. } else if (window.location.hostname === "adshnk.com" || window.location.hostname === "adshrink.it") {
  111. // Bypass AdShrink
  112. let iT = setInterval(() => {
  113. if (typeof _sharedData == "object" && 0 in _sharedData && "destination" in _sharedData[0]) {
  114. clearInterval(iT);
  115. document.write(_sharedData[0].destination);
  116. window.location.replace(document.body.textContent);
  117. } else if (typeof ___reactjsD != "undefined" && typeof window[___reactjsD.o] == "object" && typeof window[___reactjsD.o].dest == "string") {
  118. clearInterval(iT);
  119. window.location.replace(window[___reactjsD.o].dest);
  120. }
  121. });
  122. } else if (window.location.hostname == "work.ink") {
  123.  
  124. Swal.fire({
  125. title: 'If the bypass doesnt work, please try refreshing the page!',
  126. icon: 'info',
  127. footer: '<a href="https://bypass.city">This works using bypass.city.</a>',
  128. showConfirmButton: true
  129. });
  130.  
  131. const excludedPatterns = [
  132. /^https:\/\/work\.ink\/$/,
  133. /^https:\/\/work\.ink\/search\//
  134. ];
  135.  
  136. function replaceURL() {
  137. const currentURL = window.location.href;
  138. const shouldReplace = /^https:\/\/work\.ink\/[0-9a-zA-Z]+\/[0-9a-zA-Z]+/.test(currentURL);
  139.  
  140. if (shouldReplace) {
  141. window.location.replace(`https://bypass.city/bypass?bypass=${currentURL}`);
  142. } else {
  143. const shouldExclude = excludedPatterns.some(pattern => pattern.test(currentURL));
  144. if (!shouldExclude) {
  145. console.log('Non-matching URL:', currentURL);
  146. }
  147. }
  148. }
  149.  
  150. replaceURL();
  151.  
  152. const originalPushState = history.pushState;
  153. history.pushState = function(state) {
  154. if (typeof history.onpushstate === 'function') {
  155. history.onpushstate({ state });
  156. }
  157. replaceURL();
  158. return originalPushState.apply(history, arguments);
  159. };
  160.  
  161. window.addEventListener('popstate', function(event) {
  162. replaceURL();
  163. });
  164.  
  165. window.addEventListener('hashchange', function(event) {
  166. replaceURL();
  167. });
  168.  
  169. } else if (window.location.hostname === "sub2unlock.com") {
  170.  
  171. const url = document.URL;
  172.  
  173. if (url.includes("sub2unlock.com/link/unlock")) {
  174. const url = document.getElementById("link").getAttribute("href");
  175. window.location.replace(url);
  176. } else {
  177. const urlSplit = url.split("/");
  178. const urlLast = urlSplit[urlSplit.length - 1];
  179. const newurl = 'https://sub2unlock.com/link/unlock/' + urlLast;
  180. window.location.replace(newurl);
  181. }
  182.  
  183. } else if (window.location.hostname === "socialwolvez.com") {
  184.  
  185. fetch(`https://us-central1-social-infra-prod.cloudfunctions.net/linksService/link/guid/` + location.pathname.substr(7))
  186. .then(response => {
  187. if (!response.ok) {
  188. Swal.fire({
  189. title: 'Bypass Failed!',
  190. text: 'Something unexpected occured, please try again or use bypass.city.',
  191. icon: 'error',
  192. showConfirmButton: true
  193. });
  194. }
  195. return response.json();
  196. })
  197. .then(data => {
  198. if (data && data.link && data.link.url) {
  199. Swal.fire({
  200. title: 'Bypassed! Click OK to get redirected to your content!',
  201. icon: 'success',
  202. showConfirmButton: true
  203. }).then(() => {
  204. window.location.replace(data.link.url);
  205. });
  206. } else {
  207. Swal.fire({
  208. title: 'Bypass Failed!',
  209. text: 'Thats weird, we couldnt find the destination! Please try again or use bypass.city.',
  210. footer: '<a href="https://bypass.city/">Use bypass.city</a>',
  211. icon: 'error',
  212. showConfirmButton: true
  213. });
  214. }
  215. })
  216. .catch(error => {
  217. console.error('Error:', error);
  218. });
  219.  
  220. } else if (window.location.hostname === "mboost.me") {
  221.  
  222. try {
  223. const scriptTag = document.querySelector('script[id="__NEXT_DATA__"]');
  224. if (scriptTag) {
  225. const jsonData = JSON.parse(scriptTag.textContent);
  226. if (jsonData.props.pageProps.data.targeturl) {
  227. Swal.fire({
  228. title: 'Bypassed! Click OK to get redirected to your content!',
  229. icon: 'success',
  230. showConfirmButton: true
  231. }).then(() => {
  232. window.location.replace(jsonData.props.pageProps.data.targeturl);
  233. });
  234. } else {
  235. Swal.fire({
  236. title: 'Bypass Failed!',
  237. text: 'Target URL not found in the JSON data!',
  238. icon: 'error',
  239. showConfirmButton: true
  240. });
  241. }
  242. } else {
  243. Swal.fire({
  244. title: 'Bypass Failed!',
  245. text: 'Script Tag not found!',
  246. icon: 'error',
  247. showConfirmButton: true
  248. });
  249. }
  250. } catch (error) {
  251. Swal.fire({
  252. title: 'Error extracting URL.',
  253. text: error,
  254. icon: 'error',
  255. showConfirmButton: true
  256. });
  257. }
  258.  
  259. } else if(window.location.hostname === "leasurepartment.xyz") {
  260.  
  261. function get(name) {
  262. if(name=(new RegExp('[?&]'+encodeURIComponent(name)+'=([^&]*)')).exec(location.search))
  263. return decodeURIComponent(name[1]);
  264. }
  265.  
  266. async function decodeBase64(base64String) {
  267. let decodedString = atob(base64String);
  268. return JSON.parse(decodedString);
  269. }
  270.  
  271. async function main() {
  272. let encodedHash = get('cc');
  273. let decodedString = await decodeBase64(encodedHash);
  274. if(decodedString && decodedString.link) {
  275. Swal.fire({
  276. title: `Bypassed! Click OK to get redirected to your content!`,
  277. icon: 'success',
  278. showConfirmButton: true
  279. }).then(() => {
  280. window.location.replace(decodedString.link);
  281. });
  282. } else {
  283. alert("Link not found in the decoded object");
  284. }
  285. }
  286.  
  287.  
  288. main();
  289. } else if (window.location.hostname === "linkvertise.com") {
  290. if (window.location.href.toString().indexOf("?r=") !== -1) {
  291. const urlParams = new URLSearchParams(window.location.search);
  292. const r = urlParams.get('r');
  293. window.location.replace(atob(decodeURIComponent(r)));
  294. }
  295.  
  296. const rawOpen = XMLHttpRequest.prototype.open;
  297.  
  298. XMLHttpRequest.prototype.open = function() {
  299. this.addEventListener('load', data => {
  300. if (data.currentTarget.responseText.includes('tokens')) {
  301. const response = JSON.parse(data.currentTarget.responseText);
  302. if (!response.data.valid)
  303. return alert('Please solve the captcha, afterwards we can immediately redirect you');
  304.  
  305. const target_token = response.data.tokens['TARGET'];
  306. const ut = localStorage.getItem("X-LINKVERTISE-UT");
  307. const linkvertise_link = location.pathname.replace(/\/[0-9]$/, "");
  308.  
  309. fetch(`https://publisher.linkvertise.com/api/v1/redirect/link/static${linkvertise_link}?X-Linkvertise-UT=${ut}`)
  310. .then((r) => r.json())
  311. .then((json) => {
  312. if (json?.data.link.target_type !== 'URL') {
  313. const json_body = {
  314. serial: btoa(JSON.stringify({
  315. timestamp: new Date().getTime(),
  316. random: "6548307",
  317. link_id: json.data.link.id
  318. })),
  319. token: target_token
  320. };
  321.  
  322. fetch('https://publisher.linkvertise.com/api/v1/redirect/link/93270/arsenalscript-roblox/paste?X-Linkvertise-UT=9Ijv4q7R7gp7jV7g88QJQmKp2QZuh0RJegVuEKy8EoLveHgBz3TqwfxuGtZpiPh4', {
  323. method: 'POST',
  324. body: JSON.stringify(json_body),
  325. headers: {
  326. 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0',
  327. 'Accept': 'application/json',
  328. 'Referer': 'https://linkvertise.com/',
  329. 'Content-Type': 'application/json',
  330. 'Origin': 'https://linkvertise.com',
  331. }
  332. })
  333. .then((r) => r.json())
  334. .then((json) => {
  335. document.write(`Here is your paste: ${json?.data.paste}`);
  336. });
  337. }
  338.  
  339. console.log(JSON.stringify(json));
  340. if (json?.data.link.id) {
  341. const json_body = {
  342. serial: btoa(JSON.stringify({
  343. timestamp: new Date().getTime(),
  344. random: "6548307",
  345. link_id: json.data.link.id
  346. })),
  347. token: target_token
  348. };
  349. fetch(`https://publisher.linkvertise.com/api/v1/redirect/link${linkvertise_link}/target?X-Linkvertise-UT=${ut}`, {
  350. method: "POST",
  351. body: JSON.stringify(json_body),
  352. headers: {
  353. "Accept": 'application.json',
  354. "Content-Type": 'application/json'
  355. }
  356. })
  357. .then((r) => r.json())
  358. .then((json) => {
  359. window.location.replace(json.data.target);
  360. });
  361. }
  362. });
  363. }
  364. });
  365. rawOpen.apply(this, arguments);
  366. }
  367. }
  368. }
  369. })();
Add Comment
Please, Sign In to add comment