请问有什么办法可以把Android的WIFI(Droid的手机)为混杂监控模式? [英] Is there any way to put Android WIFI (droid handset) into promiscuous monitoring mode?

查看:1925
本文介绍了请问有什么办法可以把Android的WIFI(Droid的手机)为混杂监控模式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有关计算机科学信息战类几年前我写了跑libpcap的混杂抓包文件解析出Facebook的聊天流量(以明文形式传递earlang元组)一个python脚本,并认为一个有趣的项目将是端口程序到Android。

For a Computer Science Information Warfare class a few years ago I wrote a python script that ran on libpcap promiscuous packet capture files to parse out facebook chat traffic (earlang tuples passed in clear text), and thought an interesting project would be to port the program to Android.

我想改写它在Java中,但无法找到数据包直接在手机上获取任何信息。

I would like to rewrite it in Java but can't find any information about packet capturing directly on the handset.

推荐答案

据我所知,没有办法把无线网卡进入监控模式的公共API。但是,根据所使用的电话设备上,你也许可以让系统把它放到监控模式下,如果你有root权限。

As far as I'm aware, there is no way to put the Wifi NIC into monitoring mode from the public API. However, depending on the device used by the phone, you may be able to get the system to put it into monitor mode if you have root access.

看看在code在android-WiFi的系绳项目:

Take a look at the code in the android-wifi-tether project:

<一个href="http://$c$c.google.com/p/android-wifi-tether/source/browse/?r=304#svn/trunk%3Fstate%3Dclosed">http://$c$c.google.com/p/android-wifi-tether/source/browse/?r=304#svn/trunk%3Fstate%3Dclosed

有一些Linux二进制文件和配置文件在res /生/目录,该目录中的Java应用程序复制到地方和控制。

There are some Linux binaries and config files in the res/raw/ directory, which are copied into place and controlled by the app in Java.

记住,你需要以root的手机这个工作。

Remember that you will need to root the phone for this to work.

这篇关于请问有什么办法可以把Android的WIFI(Droid的手机)为混杂监控模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆