mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-16 21:28:33 +03:00
With the python module scapy the headers of each layer have to be created by hand. Furthermore, in order to use it, the program would have to be started as root. Using sockets would be the better. The reason for using scapy was, that it was the first best thing that I found when searching for python socket communication. The next step would be to open and close the socket only once instead of every time an APDU is send to wireshark. Furthermore, the ATR probably has to be treated differently from APDU packets.