This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
QMI UIM APDU example | |
iPhone 6 iOS 9.0, Qualcomm MDM9625 4.01.00 | |
REQ: | |
open logical channel on slot 01 width AID a0:00:00:00:87:10:02 (07 bytes) (3GPP USIM AID) | |
01 1b 00 00 0b 02 00 04 00 3f 00 0f 00 01 01 00 | .........?...... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<key>NSAppTransportSecurity</key> | |
<dict> | |
<key>NSAllowsArbitraryLoads</key> | |
<true/> | |
</dict> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# Usage: | |
# send_apn.py --dev --token=$DEVICE_TOKEN --message='Hello World!' --payload='{"foo": "bar"}' | |
from optparse import OptionParser | |
import json, binascii, struct, socket, ssl | |
parser = OptionParser() | |
parser.add_option("--dev", action="store_true", dest="dev", default=False, help="use development certificate and sandbox") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# OpenSSL | |
# https://github.com/x2on/OpenSSL-for-iPhone | |
# boost | |
# https://gist.github.com/faithfracture/c629ae4c7168216a9856 | |
echo "Cleaning up..." | |
rm -rf bin/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
echo "Cleaning up..." | |
rm -rf bin/ src/ | |
echo "Copying sources..." | |
mkdir src/ | |
find SSLKillSwitch -type f \( -name "*.h" -o -name "*.m" -o -name "*.c" \) -exec cp {} src/ \; | |
BIN_NAME="SSLKillSwitch2.dylib" |
NewerOlder