52ky 发表于 2022-6-16 12:42:20

安卓WIFI密码破解工具编写初探.doc

安卓WIFI原理解析
首先查看SDK中的相关类,查看WIFI操作。 android.net.wifi 包中提供了 WIFI 支持。常见的类有WifiManager、WifiInfo、WifiConfiguration、ScanResult等。 WIFI的管理是通过wifiManager暴露的方法来操作的。仔细看真的很郁闷。该类没有提供连接WIFI的方法,但是有断开连接。 () 方法断开连接,但是有一个 reconnect() 方法值得注意,但是 SDK 中没有详细描述该方法。在谷歌搜索安卓连接WIFI的代码测试失败,心里顿时凉了!看来要完成这个功能需要做很多工作。

(Analysis of Android WiFi principle
First, check the related classes in the SDK and the WiFi operation. android. net. WiFi support is provided in the WiFi package. Common classes include WiFi manager, WiFi info, WiFi configuration, and scanresult. WiFi management is operated through the methods exposed by WiFi manager. It's really depressing to look at it carefully. This class does not provide a method to connect to WiFi, but it does disconnect. () method is disconnected, but there is a reconnect () method worth noting, but it is not described in detail in the SDK. The code test of Android WiFi connection failed in Google search, and my heart was suddenly cold! It seems that a lot of work needs to be done to complete this function.)




页: [1]
查看完整版本: 安卓WIFI密码破解工具编写初探.doc