Apple 802.11 API on IOS6.1 - who has the right bundle?

I am trying to use the Apple 802.11 private library in a project to detect the SSID and signal strength for WiFi access points in the area. This has been discussed in other threads, such as:

iPhone Wifi Scan Stumbler

YES I know that this is not supported and requires private APIs, and I cannot offer this APP in the app store. This is for a private application that just helps us in testing the network.

From my research - it looked like a collection in which the 80211 library was in /System/Library/SystemConfiguration/WiFiManager.bundle/WiFiManager in iOS4

This has changed to: /System/Library/SystemConfiguration/IPConfiguration.bundle/IPConfiguration in iOS5

I am looking for its location in iOS 6.1 (I am running Xcode 4, if that matters). When I try to run this code with

 libHandle = dlopen("/System/Library/SystemConfiguration/WiFiManager.bundle/WiFiManager", RTLD_LAZY); 

or

 libHandle = dlopen("/System/Library/SystemConfiguration/IPConfiguration.bundle/IPConfiguration", RTLD_LAZY); 

I get an image that did not detect an error, which makes me think that Apple will do it again.

Does anyone know where the 80211 library lives now, or is there another way to get WiFi information (SSID and signal strength)?

Thanks Ryan Ryan@MassachusettsWebDesigns.com

+4
source share
1 answer

libHandle = dlopen ("/System/Library/SystemConfiguration/IPConfiguration.bundle/IPConfiguration", RTLD_LAZY);

this method is good on my jailbreak device (iOS6.1 version).

0
source

Source: https://habr.com/ru/post/1485658/


All Articles