Cloudflare Turnstile Sitekey

JavaScriptPublic
by zx-apiJul 31, 2026, 05:55 AMExpires: Never342 views
Cloudflare Turnstile Sitekey
Raw
1// getsitekey.js
2const axios = require('axios');
3const cheerio = require('cheerio');
4
5async function extractSitekey(url) {
6    console.log(`Mulai Ngeheck 🤭😹🫩🥶🥰🥰😹🫩🇹🇹🥶🥰🫩 ${url}\n`);
7
8    try {
9        const { data: html } = await axios.get(url, {
10            headers: { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36' }
11        });
12
13        const $ = cheerio.load(html);
14        const sitekeys = new Set();
15
16        $('script').each((_, el) => {
17            const content = $(el).html() || '';
18            const matches = content.match(/0x[A-Za-z0-9_-]{20,}/g);
19            if (matches) matches.forEach(k => sitekeys.add(k));
20        });
21
22        $('div.cf-turnstile, [data-sitekey]').each((_, el) => {
23            const key = $(el).attr('data-sitekey');
24            if (key && key.startsWith('0x')) sitekeys.add(key);
25        });
26
27        if (sitekeys.size > 0) {
28            return { method: 'HTML/DOM', keys: [...sitekeys] };
29        }
30
31        console.log('No Gua di Serang keamanan website nya 🤬🤮🤢😛😮‍💨, Serang balik👹💩😭💩😏💩');
32
33        const jsFiles = [...$('script').map((_, el) => $(el).attr('src')).get()]
34            .filter(src => src && src.includes('.js'));
35
36        const linkJs = [...$('link[rel="preload"][as="script"], link[rel="modulepreload"]').map((_, el) => $(el).attr('href')).get()]
37            .filter(href => href && href.includes('.js'));
38
39        const allJsFiles = [...new Set([...jsFiles, ...linkJs])].slice(0, 15); // Batasi 15 file agar proses nya tidak sampai kiamat 🫪🫪🫪🗿
40
41        for (const jsPath of allJsFiles) {
42            try {
43                const fullJsUrl = jsPath.startsWith('http') ? jsPath : new URL(jsPath, url).href;
44
45                const { data: jsContent } = await axios.get(fullJsUrl, {
46                    headers: { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)' },
47                    timeout: 5000
48                });
49
50                const matches = jsContent.match(/0x[A-Za-z0-9_-]{20,}/g);
51                if (matches) {
52                    matches.forEach(k => {
53                        sitekeys.add(k);
54                        console.log(` Hecker Dapat token nya 😹🥶🙃🥶🥲🥶😹`);
55                    });
56                }
57            } catch (err) {
58                continue;
59            }
60        }
61
62        if (sitekeys.size > 0) {
63            return { method: 'External JS Scan', keys: [...sitekeys] };
64        }
65
66        return { method: 'None', keys: [] };
67
68    } catch (error) {
69        console.error('❌ Error utama:', error.message);
70        return { method: 'Error', keys: [] };
71    }
72}
73
74// Mulai Ngeheckk💩🥶💩🥶😭😭
75(async () => {
76    const targetUrl = process.argv[2];
77    if (!targetUrl) {
78        console.log('Usage: node getsitekey.js <url>');
79        process.exit(1);
80    }
81
82    const result = await extractSitekey(targetUrl);
83
84    console.log('\n' + '='.repeat(40));
85    if (result.keys.length > 0) {
86        console.log('🔑 Cloudflare Turnstile Sitekey(s):');
87        result.keys.forEach((key, index) => {
88            console.log(`   ${index + 1}. ${key}`);
89        });
90    } else {
91        console.log('Aku kalahhh token mya tidak bisa aku dapatkan 🤢😏🤮👹👹🥶🥶');
92    }
93    console.log('='.repeat(40) + '\n');
94})();
94 lines·3,355 chars·3.4 KB