From f4b377529431b731c030c9111c20f90925356861 Mon Sep 17 00:00:00 2001 From: nfal001 Date: Tue, 24 Oct 2023 15:40:28 +0700 Subject: [PATCH 1/4] todo: fix miuiku, sekilastekno, add bypass vebma --- src/bypasses/adtival.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/bypasses/adtival.js diff --git a/src/bypasses/adtival.js b/src/bypasses/adtival.js new file mode 100644 index 00000000..ccb84d81 --- /dev/null +++ b/src/bypasses/adtival.js @@ -0,0 +1,18 @@ +import BypassDefinition from './BypassDefinition.js'; + +export default class Adtival extends BypassDefinition { + constructor() { + super(); + this.ensure_dom = true; + } + + execute() { + console.log('Adtival found!'); + + } +} + +export const matches = [ + /movienear\.me|lewat\.club|tautan\.pro|(droidtamvan|gubukbisnis|onlinecorp)\.me|(liveshootv|modebaca|haipedia|sekilastekno|miuiku|vebma)\.com|shrink\.world|link\.mymastah\.xyz|(sportif|cararoot)\.id|healthinsider\.online/, + 'www.adtival.network', +]; From 7eef27ef3f50acf105eabac561838abdb45c8bae Mon Sep 17 00:00:00 2001 From: nfal001 Date: Tue, 24 Oct 2023 15:46:07 +0700 Subject: [PATCH 2/4] fix: miuiku, sekilastekno, add bypass vebma - miuiku.com - sekilastekno.com - vebma.com --- src/bypasses/adtival.js | 76 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/src/bypasses/adtival.js b/src/bypasses/adtival.js index ccb84d81..7c69a604 100644 --- a/src/bypasses/adtival.js +++ b/src/bypasses/adtival.js @@ -9,6 +9,82 @@ export default class Adtival extends BypassDefinition { execute() { console.log('Adtival found!'); + const executor = async () => { + const El = window.livewire.components.components()[0]; + + const payload = { + fingerprint: El.fingerprint, + serverMemo: El.serverMemo, + updates: [ + { + payload: { + event: 'getData', + id: 'whathappen', + params: [], + }, + type: 'fireEvent', + }, + ], + }; + + const response = await fetch( + location.origin + '/livewire/message/pages.show', + { + headers: { + 'Content-Type': 'application/json', + 'X-Livewire': 'true', + 'X-CSRF-TOKEN': window.livewire_token, + }, + method: 'POST', + body: JSON.stringify(payload), + } + ); + + const json = await response.json(); + + // ensure URL + const url = new URL(json.effects.emits[0].params[0]); + + this.helpers.safelyAssign(url.href); + // this.helpers.unsafelyNavigate(url.href, location.href) + }; + + // special case for sekilastekno. modbaca(?) + if (RegExp(/(modebaca|sekilastekno)\.com/).exec(location.host)) { + this.helpers.ifElement("form[method='post']", (a) => { + console.log('addRecord...'); + + const input = document.createElement('input'); + input.value = window.livewire_token; + input.name = '_token'; + input.hidden = true; + a.appendChild(input); + a.submit(); + }); + + // ...same step as miuiku and vebma + this.helpers.ifElement('button[x-text]', async () => { + console.log('getLink..'); + executor(); + }); + + return; + } + + // adtival getLink on miuiku + this.helpers.ifElement("div[class='max-w-5xl mx-auto']", async () => { + console.log('Executing..'); + executor(); + }); + + // adtival b64UrlLastPage + this.helpers.ifElement("button[id='copyVideoURL']", () => { + const shortID = new URLSearchParams(window.location.search).get( + 'shortid' + ); + + this.helpers.safelyAssign(atob(shortID)); + }); } } From ddcce17c59291f8195ea0da0ad4842cbef553447 Mon Sep 17 00:00:00 2001 From: nfal001 Date: Tue, 24 Oct 2023 15:52:49 +0700 Subject: [PATCH 3/4] Update Bypassed.md fixes: - sekilastekno.com - miuiku.com add: - vebma.com --- docs/Bypassed.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/Bypassed.md b/docs/Bypassed.md index 664509fe..7d8a41ce 100644 --- a/docs/Bypassed.md +++ b/docs/Bypassed.md @@ -526,8 +526,8 @@ This is a list of websites bypassed in the MV2 version of the extension. | https://liveshootv.com | 🛑 | | https://modebaca.com | ❌ | | https://haipedia.com | ❌ | -| https://sekilastekno.com | ❌ | -| https://miuiku.com | ❌ | +| https://sekilastekno.com | ✅ | +| https://miuiku.com | ✅ | | https://shrink.world | 🛑 | | https://link.mymastah.xyz | 🛑 | | https://sportif.id | ❌ | @@ -587,3 +587,4 @@ This is a list of websites bypassed in the MV2 version of the extension. | https://oko.sh | ✅ | | https://bluetechno.net | ✅ | | https://work.click | ✅ | +| https://vebma.com | ✅ | From d22aa04b04f9f2d4dbda0e2f8c45a2bcdf9f8501 Mon Sep 17 00:00:00 2001 From: Abdurrahman Naufal <111720828+nfal001@users.noreply.github.com> Date: Tue, 24 Oct 2023 23:05:08 +0700 Subject: [PATCH 4/4] Update Bypassed.md add adtival.network --- docs/Bypassed.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/Bypassed.md b/docs/Bypassed.md index 7d8a41ce..f510c3fc 100644 --- a/docs/Bypassed.md +++ b/docs/Bypassed.md @@ -588,3 +588,4 @@ This is a list of websites bypassed in the MV2 version of the extension. | https://bluetechno.net | ✅ | | https://work.click | ✅ | | https://vebma.com | ✅ | +| https://adtival.network | ✅ |