Skip to content

Commit e5203ac

Browse files
feat: install.sh β€” one-command installer
1 parent 8397746 commit e5203ac

1 file changed

Lines changed: 18 additions & 38 deletions

File tree

β€Žinstall.shβ€Ž

Lines changed: 18 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,21 @@
11
#!/bin/bash
2-
# install.sh -- Install Android Intelligence tools
3-
# Downloads and sets up the toolkit
4-
2+
# install.sh -- Quick install script for all Android Intelligence tools
3+
# Usage: bash install.sh
54
set -e
6-
TOOLS_DIR="${1:-.}/android-tools"
7-
mkdir -p "$TOOLS_DIR"
8-
9-
echo "πŸ“₯ Android Intelligence Setup"
10-
echo "Installing to: $TOOLS_DIR"
11-
12-
# Clone main repos
13-
repos=(
14-
"android-toolkit-scripts"
15-
"android-adb-cheatsheet"
16-
"android-forensics-guide"
17-
"frida-scripts-android"
18-
"apk-patcher"
19-
)
20-
21-
for repo in "${repos[@]}"; do
22-
url="https://github.com/OutrageousStorm/$repo.git"
23-
if [[ ! -d "$TOOLS_DIR/$repo" ]]; then
24-
echo " Cloning $repo..."
25-
git clone --depth=1 "$url" "$TOOLS_DIR/$repo" 2>/dev/null || true
26-
fi
5+
echo "πŸ€– Android Intelligence β€” Tool Installer"
6+
echo "=========================================="
7+
echo ""
8+
which adb > /dev/null || { echo "❌ adb not found in PATH"; exit 1; }
9+
which python3 > /dev/null || { echo "❌ python3 not found"; exit 1; }
10+
echo "βœ“ Dependencies found"
11+
echo ""
12+
DEST="${HOME}/.android-intel"
13+
mkdir -p "$DEST"
14+
echo "Installing to: $DEST"
15+
for tool in *.py *.sh; do
16+
[[ -f "$tool" ]] && cp "$tool" "$DEST/" && chmod +x "$DEST/$tool" && echo " βœ“ $tool"
2717
done
28-
29-
echo "
30-
βœ… Installation complete!
31-
32-
Next steps:
33-
cd $TOOLS_DIR
34-
python3 android-toolkit-scripts/device_info.py
35-
36-
Get started:
37-
- Device info: android-toolkit-scripts/device_info.py
38-
- Permission audit: android-toolkit-scripts/permission_audit.py
39-
- APK analysis: frida-scripts-android/
40-
- ADB cheatsheet: cat android-adb-cheatsheet/README.md
41-
" | tee "$TOOLS_DIR/SETUP_COMPLETE.txt"
18+
echo ""
19+
echo "βœ… Done! Add to PATH:"
20+
echo " export PATH=\$PATH:$DEST"
21+
echo " # Then run: device-info, app-audit, debloat, etc."

0 commit comments

Comments
Β (0)