Skip to content

Instantly share code, notes, and snippets.

@eta66
eta66 / y.user.js
Last active April 8, 2025 22:21
chzzk.naver.com p2p bypass
// ==UserScript==
// @name chzzk-bypass
// @author eta66 ([email protected])
// @match https://chzzk.naver.com/*
// @match https://*.chzzk.naver.com/*
// @grant none
// @require https://unpkg.com/xhook@latest/dist/xhook.min.js
// ==/UserScript==
xhook.after(function(t,e){if(-1!==t.url.indexOf("live-detail"))try{let n=JSON.parse(e.text);n.content&&n.content.p2pQuality&&(n.content.p2pQuality=[],Object.defineProperty(n.content,"p2pQuality",{configurable:!1,writable:!1})),e.text=JSON.stringify(n)}catch(r){console.error(r)}});
@eta66
eta66 / .js
Last active March 3, 2025 23:26
fmkorea.com WAF bypass
const crypto = require('node:crypto');
async function main() {
let response = await fetch('https://www.fmkorea.com');
let text = await response.text();
if (response.status === 430) {
let html;
JSON.parse(text.match(/\[.*?\]/)[0]).forEach((v) => {
html += String.fromCharCode(
(atob(v.slice(3, -3)).charCodeAt(0) - 3 + 256) % 256