The SCAM Perl Front-end
- Quick prototyping of applications.
- Small and portable scripts.
- No need to learn a new scripting language; Perl is enough.
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.
That is why I have built a front-end to SCAM.
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.
Available Libraries
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.
Available Scripts
- scanins.pl finds out all the instructions on a smart card and prints them.
A full scan with two instruction classes takes about one minute.