This is a modified version of Todd Whiteman’s PySimReader code. This modified version allows users to write out arbitrary raw SMS PDUs to a SIM card. Additionally, debugging output has been added to allow the user to view all APDUs that are sent between the SIM card and PySimReader.
Usage:
# Start the app
python pySimReader.py
# To run with debugging mode enabled
# (This will print out all APDUs sent between the SIM and pySimReader)
python pySimReader.py -d
Requirements: This tool has been tested on Windows XP with Python 2.5 and the ACS ACR 38t SIM reader.