Exploit databaseDownload repository ZIP
GH-9402833d722d7cd1909c04732e535a13
qingle009/opace6-cve-2026-64560
Sources for CVE-2026-64560
19 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files9
qingle009/opace6-cve-2026-64560Revision 6b1d0ba46357
- ↑..Parent directory
- boot-campaign.bat
- boot-campaign.sh
- build.ps1
- checksums.ps1
- measure-loop.sh
- measure-race.sh
- new-target.ps1
- probe-device.ps1
- root.ps1
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
scripts/probe-device.ps1
PowerShell · 2,398 bytesparam(
[string]$Serial = '',
[string]$Output = ''
)
$ErrorActionPreference = 'Stop'
if (-not (Get-Command adb -ErrorAction SilentlyContinue)) {
throw 'adb was not found on PATH.'
}
$devices = @(
& adb devices |
Select-Object -Skip 1 |
ForEach-Object {
if ($_ -match '^(\S+)\s+device\s*$') { $Matches[1] }
}
)
if ($Serial) {
if ($devices -notcontains $Serial) {
throw "ADB device is not connected and authorized: $Serial"
}
} elseif ($devices.Count -eq 1) {
$Serial = $devices[0]
} elseif ($devices.Count -eq 0) {
throw 'No connected and authorized ADB device was found.'
} else {
throw 'Multiple ADB devices are connected. Select one with -Serial.'
}
function Read-AdbValue {
param([string]$Command)
$value = (& adb -s $Serial shell $Command 2>$null | Out-String).Trim()
if ($LASTEXITCODE -ne 0) { return '' }
return $value
}
$pageSizeText = Read-AdbValue 'getconf PAGE_SIZE'
$cpuOnline = Read-AdbValue 'cat /sys/devices/system/cpu/online'
$cpuCount = 0
if ($cpuOnline -match '^(\d+)-(\d+)$') {
$cpuCount = [int]$Matches[2] - [int]$Matches[1] + 1
} elseif ($cpuOnline -match '^\d+(,\d+)*$') {
$cpuCount = @($cpuOnline -split ',').Count
}
$profile = [ordered]@{
collectedAtUtc = [DateTime]::UtcNow.ToString('o')
serial = $Serial
manufacturer = Read-AdbValue 'getprop ro.product.manufacturer'
model = Read-AdbValue 'getprop ro.product.model'
codename = Read-AdbValue 'getprop ro.product.device'
fingerprint = Read-AdbValue 'getprop ro.build.fingerprint'
kernelRelease = Read-AdbValue 'uname -r'
kernelVersion = Read-AdbValue 'cat /proc/version'
pageSize = if ($pageSizeText -match '^\d+$') { [int]$pageSizeText } else { $null }
cpuOnline = $cpuOnline
onlineCpus = if ($cpuCount) { $cpuCount } else { $null }
bootId = Read-AdbValue 'cat /proc/sys/kernel/random/boot_id'
uhid = Read-AdbValue 'stat -c %t:%T /dev/uhid'
}
$json = $profile | ConvertTo-Json -Depth 5
if ($Output) {
$fullOutput = [IO.Path]::GetFullPath($Output)
$parent = Split-Path -Parent $fullOutput
if ($parent) { New-Item -ItemType Directory -Path $parent -Force | Out-Null }
[IO.File]::WriteAllText($fullOutput, $json + [Environment]::NewLine,
[Text.UTF8Encoding]::new($false))
Write-Host "PROBE_WRITTEN path=$fullOutput"
} else {
$json
}