apktool
Auth/lab ref: decode and rebuild Android APK resources and smali for patching, manifest edits, resource inspection, and repackaging.
v2026.11.13-21cd5683 התקנות+3 ב-7 ימים39 כוכביםApache-2.0סונכרן לפני 11 שעות
התקנה
עדיין אין לכם את ה-CLI של NotHoly? התקינו אותו קודם.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install aeondave/apktoolנכתב אל ~/.notholy/skills אחרי בדיקת החתימה וה-SHA-256.
חתימהחתום, ed25519
חבילה88ab76d5…35711885
88ab76d5db7f…b48e35711885קובץ אחד · 1.5 KBסריקהנמוךאין ממצאים
מקורgithub.com/AeonDave/malskill/tree/main/offensive-tools/rev/apktool@21cd568
הפריט הזה עדיין לא נכתב בעברית, ולכן הוא מוצג בשפה אחרת: English.
בעמוד הזה
Resource and smali decode/rebuild workflow for Android APKs.
When to use Apktool
Use Apktool when you need to:
- decode
AndroidManifest.xml, resources, and smali from an APK - patch permissions, intents, strings, layouts, or smali logic
- rebuild a modified APK for testing
- inspect resources without full Java decompilation
Use jadx when you want readable Java/Kotlin. Use Apktool when you intend to edit the app.
Quick Start
# Decode APK into a project-like directory
apktool d app.apk
# Decode for analysis-only resource inspection
apktool d -m app.apk
# Rebuild after edits
apktool b appTypical output after rebuild is under app/dist/.
Core Workflow
1. Decode
apktool d target.apkThis produces a folder containing at least:
AndroidManifest.xmlapktool.ymlres/smali/orsmali_classes*/assets/
2. Patch
Common edit points:
AndroidManifest.xml— exported components, permissions, debuggable flagsres/values/strings.xml— hardcoded UI strings and togglesres/xml/— config and network security settingssmali/— bypass checks, short-circuit logic, redirect flow
3. Rebuild
apktool b target4. Sign and reinstall
Apktool rebuilds the APK but does not make it production-signed. Sign it separately before install.
apksigner sign --ks debug.keystore target/dist/target.apk
adb install -r target/dist/target.apkCommon Use Cases
Patch app logic in smali
Use when the decompiled Java in jadx shows the method to change, but you need a reliable rebuild path.
apktool d app.apk
# edit smali/com/example/MainActivity.smali
apktool b appChange manifest or resources
apktool d app.apk
# edit AndroidManifest.xml or res/values/*.xml
apktool b appPair with adb
adb shell pm path com.example.app
adb pull /data/app/.../base.apk app.apk
apktool d app.apkPractical Notes
- Apktool is strongest for resource decode + smali round-trip, not for pretty source code.
- If rebuild succeeds but install fails, check signing, package conflicts, and
android:sharedUserIdor min SDK constraints. - If static analysis is the goal, open the same APK in
jadxalongside Apktool output. -mis useful when you mainly want manifests/resources and do not care about a rebuild-ready tree.
Caveats
- Complex OEM apps may require extra framework handling before clean decode/rebuild.
- Rebuilt apps may still fail at runtime because of integrity checks, signature checks, or native anti-tamper logic.
- Some Java-level edits are easier to understand in
jadx, but safer to apply in smali.
Resources
No bundled scripts/, references/, or assets/.
Use upstream docs at apktool.org for version-specific CLI details and build caveats.
הקבצים בגרסה הזו
- SKILL.md3.1 KB
הרשאות
| הרשאה | הוצהר | נמצא בסריקה |
|---|---|---|
| קורא קבצים | לא | לא |
| כותב קבצים | לא | לא |
| מריץ פקודות shell | כן | כן |
| משתמש ברשת | לא | לא |
| משתמש במחברים | לא | לא |
| שולט בדפדפן | לא | לא |
ממצאי הסריקה
נבדק ב-13 בנוב׳ 2026
הסריקה לא מצאה בגרסה הזו שום דבר שצריך לסמן.
סריקה נקייה מורידה את הסיכון, אבל לא מוכיחה שהחבילה בטוחה. כדאי לקרוא מה מתקינים.
| גרסה | פורסמה | Commit | SHA-256 | חתימה | שינוי בהרשאות |
|---|---|---|---|---|---|
| v2026.11.13-21cd568 | 13 בנוב׳ 2026 | 21cd568 | 88ab76d5 | חתומה | – |
עוד מ-AeonDave
הכול מהמפרסם הזהעוד בקטגוריה הנדסה לאחור ו-fuzzing
לקטגוריהשאלו כל מה שהסקופ מאפשר.
יוצרים חשבון, מוסיפים קרדיטים ושואלים את השאלה הראשונה בצ׳אט או בטרמינל.
- 1/3
יצירת חשבון
פרטי או חברה. אפשר לעבור לחשבון חברה אחר כך בלי לאבד יתרה או מפתחות.
פרטיחברה - 2/3
הוספת קרדיטים
בכרטיס אשראי. תשלום לפי טוקן, בלי מנוי.
$5.00טעינה מינימלית - 3/3
שאלה ראשונה
בצ׳אט, או להתקין את ה-CLI ולהריץ notholy login בטרמינל.
$ notholy login