Skip to content

Instantly share code, notes, and snippets.

View optionsx's full-sized avatar

optionsx

  • Kurdistan
View GitHub Profile
@optionsx
optionsx / xc.com.js
Last active June 11, 2023 02:34
xc.com RE
fetch('https://xc.com/js/tripledes.js')
.then(res => res.text())
.then(source => {
eval(source.replace('export { encryptByDES, decryptByDES }', ''));
const decryptKey = 'iZTE2V29USHROXhH';
const encryptKey = 'Yo2NpZNkgVGRKSWN';
CHAT_API.ws.addEventListener('message', ({ data }) => {
const decrypted = JSON.parse(decryptByDES(arrToB64(data), decryptKey))?.result?.text;
decrypted && console.log(decrypted);
@optionsx
optionsx / checkerProxy.ts
Last active May 30, 2023 02:07
grab all archived proxies of checkerProxy.net site to run it: deno run -A https://gist.githubusercontent.com/optionsx/6016c22089d73133b5f576d668271ee8/raw/checkerProxy.ts
import { appendFileSync } from "node:fs";
type Proxy = {
addr: string;
ip_geo_country: string;
ip_geo_iso: string;
ip_geo_city: string;
type: number;
};
const headers = {
@optionsx
optionsx / isproxy.ts
Last active February 27, 2023 04:56
was about to delete cus the api needed proxy, rather leave it in this dumpster for record.
import axiod from "https://deno.land/x/axiod@0.26.2/mod.ts";
const subdomains = ["ping", "eu", "us", "au", "whitelabel", "rotate", "fn2"];
const proxies = new Map<string, ProxyData>();
interface ProxyData {
success: boolean;
isProxy: boolean;
country: string;
region: string;
city: string;
hostname: string;
// ==UserScript==
// @name chatgptisdown
// @namespace http://tampermonkey.net/
// @version 0.3
// @description access chatgpt while it's down, shêr#0196
// @updateURL https://pastebin.com/raw/sdCemSzy
// @downloadURL https://pastebin.com/raw/sdCemSzy
// @author optionsx
// @match https://chat.openai.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=openai.com