Skip to content

sbtweaks/wifiutil

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wifiutil

iOS command-line tool for WiFi-related operation.

Installation

  • Search wifiutil in the Cydia on your jailbroken iOS device.
  • Install and access it using MobileTerminal or remote SSH.

Usage

  • To enable wifi on iphone: wifiutil enable-wifi
  • To disable wifi on iphone: wifiutil disable-wifi
  • To scan available wifi hotspot: wifiutil scan
  • To associate with wifi hotspot named {ssid}: wifiutil associate {ssid}
  • To associate with wifi hotspot named {ssid} and with password {passwd}: wifiutil associate {ssid} -p {passwd}
  • To disassociate with current wifi network: wifiutil disassociate
  • To ping an ip address: wifiutil ping {ip}

License

Licensed under:

see also

 实现Associate to wifi的,在iOS 版本10 之后,就比较困难,因为苹果将SBWiFiManager 的joinNetwork:password: 移除掉; 且在iOS10 中SBWiFiManager 的t_manager、t_device、t_currentNetwork 均采用 struct存储,提高了安全性。

 因此要实现自动 Associate to wifi 的话,我从hopper 中看到sb 中使用WiFiManagerClientCreate() 实现连接Wi-Fi,因此就才想到使用MobileWiFi.framework 实现是最佳的捷径

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 88.0%
  • C 10.2%
  • Makefile 1.5%
  • Shell 0.3%