1SCRIPTOR(1p)                                                      SCRIPTOR(1p)
2
3
4

NAME

6       scriptor - Perl script to send commands to a smart card
7

SYNOPSIS

9       scriptor [-h] [-r reader] [-p protocol] [file]
10

DESCRIPTION

12       This manual page documents briefly the scriptor command.
13
14       scriptor is a program that sends commands to a smart card using a batch
15       file or stdin.
16

OPTIONS

18       A description of options is included below.
19
20       -h     Show summary of options.
21
22       -r reader
23              Use the indicated reader. By default the first PC/SC  reader  is
24              used.
25
26       -p protocol
27              Use  the indicated protocol. Accepted values are T=0 and T=1. By
28              default T=0 is used.
29
30       file   Use the file instead of stdin to read commands (APDUs)
31
32              The commands are of the form:
33               CLA INS P1 P2 Lc [data] [le]
34               reset
35               # comment
36
37              Example:
38
39               # reset the card
40               reset
41
42               # Select MF 3F00
43               A0 A4 00 00 02 3F 00
44
45               # Get Response
46               # 17 is the value of second SW from the previous command
47               A0 C0 00 00 17
48
49               # Select DF Telecom (7F10)
50               A0 A4 00 00 02 7F 10
51
52               # Get Response
53               A0 C0 00 00 17
54
55               # Select EF_ADN (6F3A) (Abbreviated Dialing Numbers)
56               A0 A4 00 00 02 6F 3A
57
58               # Get Response
59               A0 C0 00 00 0F
60

SEE ALSO

62       pcscd(8),gscriptor(1)
63

AUTHOR

65       This manual page was written by Ludovic Rousseau <rousseau@debian.org>,
66       for the Debian GNU/Linux system (but may be used by others).
67
68
69
70
71                               octobre 17, 2003                   SCRIPTOR(1p)
Impressum