
Contents | Parent Topic | Previous Topic | Next Topic
If you want to examine a smart card, it is too much work and too boring to do this in interactive mode. One solution is to make a script that tells the SCAM program what to do, but such a script can never see the resulting output and react on it.
You can of course build yet another scripting language that has all kinds of programming constructs, but it is easier (for me as well as for you) to use an existing language for that. That is why I have built a front-end to SCAM, using named pipes for the communication between the program and the front-end.
One can build a front-end in any language, but I have chosen to build it in Perl. The reasons are that Perl is available on a lot of platforms, is distributed with a lot of free UNIX systems and makes it possible to load functions from a file and then use them. This makes it possible to start a Perl interpreter and use this as an interactive program from which your smart card application functions can be called.
The SCAM functions are put into Perl modules, to avoid any name collisions.
Currently few libraries are available. Feel free to develop your own libraries. If you want them to be listed here, drop me a little e-mail.
No really useful scripts have been written yet.