Christina Quast
362a4da94a
simtrace.py: Sleep a sec after changing the config
2015-04-09 13:39:38 +02:00
Christina Quast
82ba0ac6d8
Phone.c: remove unused ep finder function
2015-04-06 19:08:37 +02:00
Christina Quast
6f664a3cc2
mitm.py: read atr on startup, do not reset card to retrieve atr
2015-04-06 19:08:04 +02:00
Christina Quast
7741f7159c
ccid_raw.py: Reset smartcard method
2015-04-06 19:06:05 +02:00
Christina Quast
5163624c24
ccid_raw.py: ATR function
2015-04-06 00:44:50 +02:00
Christina Quast
88c7fa1bad
mitm.py: using new ccid_raw.py functions
2015-04-06 00:35:03 +02:00
Christina Quast
5149cd6e78
simcard communication python class
2015-04-06 00:33:52 +02:00
Christina Quast
267afe37ec
Constants: simcard command definition
2015-04-06 00:27:33 +02:00
Christina Quast
2a3dd553e1
Requirements.txt
2015-04-05 16:37:14 +02:00
Christina Quast
21eddea4bb
Symlink to pySim module
2015-04-05 16:35:28 +02:00
Christina Quast
7821b1fc1b
Installed pysim as submodule
...
Could not install it using pip.
Setup.py missing
2015-04-05 16:24:17 +02:00
Christina Quast
097b21849f
ccid_raw.py: main function with test functions
2015-04-05 10:21:11 +02:00
Christina Quast
80050a5c98
simtrace.py: Added mitm option
2015-04-04 20:00:15 +02:00
Christina Quast
95270b1903
mitm.py: import modules, added exceptions
2015-04-04 19:59:03 +02:00
Christina Quast
3252a317d5
ccid_raw.py: removed test functions calls
2015-04-04 19:57:16 +02:00
Christina Quast
b65b881de1
Phone uses USB endpoints 4 to 6 instead of 1 to 3 now
2015-04-04 10:51:37 +02:00
Christina Quast
452aee337c
simtrace config 4 enabled
2015-04-03 13:22:18 +02:00
Christina Quast
97922ba1d0
phone.py: do not change state to WAIT_RST after responding to file select command
2015-04-03 11:46:34 +02:00
Christina Quast
cce4b0959c
return commands read from card
2015-04-03 11:43:09 +02:00
Christina Quast
1dd996a0c3
Define for phone interface numbers in phone.py
2015-04-03 11:42:29 +02:00
Christina Quast
69d1f90c12
MITM python program first draft
2015-04-03 11:41:23 +02:00
Christina Quast
254acae448
raw ccid communication with variable commands
2015-04-01 19:36:34 +02:00
Christina Quast
4bcc023be7
Phone hack: endless loop
...
Motorola seems to be in an endless loop?
In any case, it only shows the motorola logo and does not react to
pressing the power button.
2015-03-24 21:59:32 +01:00
Christina Quast
5134fb6f53
phone.py:Bug fixes, first part of communication works
2015-03-22 19:09:02 +01:00
Christina Quast
e5342b3c25
Added more cmds to phone.py smartcard emulator
2015-03-19 19:29:49 +01:00
Christina Quast
4e4682c785
Bug fix: state returned by each handle* func now
...
The variable state is not a global function.
So its value needs to be returned from each function
which might alter the state.
For now only two states exist: WAIT_RST, WAIT_CMD
FIXME: Probably there is a more elegant way to do that
2015-03-18 18:48:57 +01:00
Christina Quast
5a691a36d1
Sniffed and parsed communication in a comment
2015-03-18 18:45:14 +01:00
Christina Quast
69734e9ad9
phone.py: too many usb function calls
2015-03-15 16:09:55 +01:00
Christina Quast
381d0fcde9
simtrace.py: cmdline arg for simcard emulation
2015-03-15 15:13:38 +01:00
Christina Quast
1185ae7184
phone.py: send ATR on rst
2015-03-15 15:12:50 +01:00
Christina Quast
74876d2079
SIM card still absent
2015-03-13 23:45:33 +01:00
Christina Quast
b4d1b9d937
gemalto USB card reader dump
2015-03-10 23:36:23 +01:00
Christina Quast
ecfad8f75c
changed select command to one supported by simcard
2015-03-10 23:35:11 +01:00
Christina Quast
dba7b16b98
ccid.py should not stop when an error occurs
2015-03-10 17:58:54 +01:00
Christina Quast
7c9edfac25
Python script for serial usb card reader
2015-03-10 15:33:06 +01:00
Christina Quast
53d94264ee
gemalto: dump of select file and read further commands
2015-03-09 17:19:48 +01:00
Christina Quast
c9c62ce7c7
dump: bug of usb select file request
2015-03-09 17:18:53 +01:00
Christina Quast
31b5b4ed93
renamed ccid reader select file python script
...
The command can be called now using the following command:
./simtrace -S
2015-03-09 17:17:14 +01:00
Christina Quast
d065a4b59d
moved config change code to simtrace.py
2015-03-06 19:12:55 +01:00
Christina Quast
71742c770c
CCID reader general: does not work yet
...
Protocol type 0x2 not supported
2015-03-06 19:11:45 +01:00
Christina Quast
f2582fc124
python simtrace suit: sniffer, ccid reader
2015-03-06 19:09:35 +01:00
Christina Quast
2dcaa10221
add kevins iccid, imsi, .. read commands
2015-03-06 18:14:43 +01:00
Christina Quast
f274a78e1a
Send poweroff in ccid.py
2015-03-03 22:20:22 +01:00
Christina Quast
57e200539b
python code usb config change
2015-03-02 16:10:04 +01:00
Christina Quast
763e5309a3
sniff of phone startup bytes
2015-03-02 16:09:45 +01:00
Christina Quast
9836933a27
python sniffer host side
2015-03-02 16:08:40 +01:00