Hi,

and welcome to gsm_emu, a GSM smart card emulator. This emulator is
used in conjunction with a Season type smart card adapter, also
known as 'inverse reader'. 

This software is for DOS because it's designed for Motorola telephones
which require an odd baud rate. You can change your specific serial
settings as well as the serial port to use in the source code. This
code is known to compile with Turbo C 2.0.

This emulator uses the COMP128 reference implementation of A3 and A8.

The usage is easy: connect the inverse reader to the COM port (COM1: is
the compiled in default), and start 

c:\wherevr\i> gsm_emu 0x082620103048571130 0x0123456789abcdef0123456789abcdef

The first value is the IMSI (the serial number of the GSM card you want to
emulate), and the second value is the Ki, the secret key used for
authentication.


Your friendly CCC hackers

P.S.: The COMP128 implementation is the one from
http://www.scard.org/gsm/a3a8.txt. Great work, guys. 

Some parts of the remaining code are of unknown origin.

