This repository has been archived by the owner on Oct 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.ps1
46 lines (35 loc) · 1.66 KB
/
main.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
$checkpoints = @(
"https://flux.li/windows/start.php?updated_browser=true",
"https://fluxteam.net/windows/checkpoint/check1.php",
"https://fluxteam.net/windows/checkpoint/check2.php",
"https://fluxteam.net/windows/checkpoint/main.php"
)
$HwProfileGuid = (Get-ItemProperty "HKLM:\SYSTEM\CurrentControlSet\Control\IDConfigDB\Hardware Profiles\0001").HwProfileGuid
$HwProfileGuid = $HwProfileGuid -replace '[{}]','' -replace '-',''
$SystemManufacturer = (Get-ItemProperty "HKLM:\SYSTEM\CurrentControlSet\Control\SystemInformation").SystemManufacturer
$HWID = $HwProfileGuid + $SystemManufacturer
Write-Host "HwProfileGuid: $HwProfileGuid"
Write-Host "SystemManufacturer: $SystemManufacturer"
Write-Host "HWID: $HWID"
Write-Host ""
Write-Host "Starting checkpoints..."
Write-Host ""
$UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:113.0) Gecko/20100101 Firefox/113.0"
for ($i = 0; $i -le 3; $i++) {
if ($i -eq 0) {
$Referer = "https://flux.li/windows/start.php"
} else {
$Referer = "https://linkvertise.com/"
}
Invoke-RestMethod -Uri $checkpoints[$i] -Headers @{"User-Agent" = $UserAgent; "Referer" = $Referer} -Method Post -Body "HWID=$HWID" -OutFile "temp.txt"
if ($i -eq 3) {
$content = Get-Content "temp.txt"
$Key = $content | Select-String -Pattern '<code style="background:#29464A;color:#F0F0F0; font-size: 13px;font-family: ''Open Sans'';"' -Context 0,1 | Select-Object -ExpandProperty Context | Out-File "key.txt"
Write-Host "key: $Key"
}
}
Remove-Item "temp.txt"
Write-Host ""
Write-Host "The key is the random string.."
Get-Content "key.txt"
pause