Change radare2 download URL to GitHub releases

Was stored on Hetzner beforehand which is not future-proof.
This commit is contained in:
Paul
2025-04-07 10:37:57 +02:00
parent e0624ce084
commit acaf6f2edb
2 changed files with 5 additions and 4 deletions

View File

@@ -36,7 +36,8 @@ import java.net.URL
class RadareOffsetFinder(context: Context) {
companion object {
private const val TAG = "RadareOffsetFinder"
private const val RADARE2_URL = "https://hc-cdn.hel1.your-objectstorage.com/s/v3/c9898243c42c0d3d1387de9a37d57ce9df77f9c9_radare2-5.9.9-android-aarch64.tar.gz"
// Custom static build of radare2 for Android that doesn't need Termux. See: https://github.com/devnoname120/radare2/releases/tag/5.9.8-android-aln
private const val RADARE2_URL = "https://github.com/devnoname120/radare2/releases/download/5.9.8-android-aln/radare2-5.9.9-android-aarch64-aln.tar.gz"
private const val HOOK_OFFSET_PROP = "persist.aln.hook_offset"
private const val EXTRACT_DIR = "/"