Skip to content

Instantly share code, notes, and snippets.

@Naville Naville/FixATS.py
Last active Dec 14, 2016

Embed
What would you like to do?
import plistlib
import os
PATH=os.path.dirname(os.path.abspath(__file__))+"/Info.plist"
x=plistlib.readPlist(PATH)
x['NSAppTransportSecurity']=dict()
x['NSAppTransportSecurity']['NSAllowsArbitraryLoads']=True
plistlib.writePlist(x,PATH)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.