Open baltpeter opened 1 year ago
Not sure whether we actually want this but since I found this Frida function to set the airplane mode on Android, I wanted to document it:
function setAirplaneMode(mode) { var p = ObjC.classes.RadiosPreferences.alloc().init(); p.setAirplaneMode_(mode) p.synchronize() p.release(); }
mode can be true or false.
mode
true
false
To toggle just the WiFi connection on iOS (same source):
function setWifiMode(mode) { var wfc = ObjC.classes.WFClient.sharedInstance(); wfc.setPowered_(mode); }
Not sure whether we actually want this but since I found this Frida function to set the airplane mode on Android, I wanted to document it:
mode
can betrue
orfalse
.