osmocom/pysim — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Python command line toolkit for working with SIM, USIM, ISIM, HPSIM, and eUICC cards through a normal smart card reader. I want the main experience to be an interactive shell where I can browse the card, read and decode files in a human friendly way, and, if I have the right ADM PIN or credentials, edit card contents for lab or private network use.

Also include simple scripts for reading cards, programming common card values in batches, and decoding SIM protocol traces from tools like SIMtrace. Add a small research only SM DP plus style eSIM server tool if it fits the project.

Please make it installable as a Python project, with clear dependency setup, helpful error messages when a reader or permission is missing, and documentation with examples for common tasks. Keep normal operator cards read only where access rules require it, and make it clear this is meant for programmable lab cards and private cellular network testing. Look up current Osmocom and smart card docs online if you need to.

Want more depth? Deep Reverse