1	ATR:          3B67000000000000009000
     2	Trying PSE: accessing 1PAY.SYS.DDF01 file...
     3	CAPDU:        00A404000E315041592e5359532e4444463031
     4	RAPDU(6A 82): 
     5	Trying list of pre-defined applications:
     6	CAPDU:        00A4040007A0000000038002
     7	RAPDU(6A 82): 
     8	CAPDU:        00A4040007A0000000048002
     9	RAPDU(90 00): 6F2E8407A0000000048002A5239F38039F35015F2D026672BF0C159F5501005F2C020056DF0709424B53303536303038
    10	Application detected: SecureCode Aut = MasterCard CAP
    11	6F2E8407A0000000048002A5239F38039F35015F2D026672BF0C159F5501005F2C020056DF0709424B53303536303038
    12	[<TLV
    13	    Tag:    6F (fci template)
    14	            application class
    15	            constructed
    16	    Length: 46 bytes
    17	    Value:  
    18	    [<TLV
    19	        Tag:    84 (dedicated file (df) name)
    20	                context specific class
    21	                primitive
    22	        Length: 7 bytes
    23	        Value:  A0000000048002
    24	    >, <TLV
    25	        Tag:    A5 (fci proprietary template)
    26	                context specific class
    27	                constructed
    28	        Length: 35 bytes
    29	        Value:  
    30	        [<TLV
    31	            Tag:    9F38 (processing options dol (pdol))
    32	                    context specific class
    33	                    primitive
    34	            Length: 3 bytes
    35	            Value:  
    36	            [<TLV
    37	                Tag:    9F35 (terminal type)
    38	                        context specific class
    39	                        primitive
    40	                Length: 1 bytes
    41	                Value:  None
    42	            >]
    43	        >, <TLV
    44	            Tag:    5F2D (language preference)
    45	                    application class
    46	                    primitive
    47	            Length: 2 bytes
    48	            Value:  6672
    49	            ==      fr
    50	        >, <TLV
    51	            Tag:    BF0C (fci issuer discretionary data)
    52	                    context specific class
    53	                    constructed
    54	            Length: 21 bytes
    55	            Value:  
    56	            [<TLV
    57	                Tag:    9F55 (Issuer Authentication Flag)
    58	                        context specific class
    59	                        primitive
    60	                Length: 1 bytes
    61	                Value:  00
    62	            >, <TLV
    63	                Tag:    5F2C (Cardholder nationality)
    64	                        application class
    65	                        primitive
    66	                Length: 2 bytes
    67	                Value:  0056
    68	            >, <TLV
    69	                Tag:    DF07 (unknown tag DF07 (Banksys ID??))
    70	                        private class
    71	                        primitive
    72	                Length: 9 bytes
    73	                Value:  424B53303536303038
    74	                ==      BKS056008
    75	            >]
    76	        >]
    77	    >]
    78	>]
    79	CAPDU:        00A4040008D056000666111010
    80	RAPDU(6A 82): 
    81	CAPDU:        00A4040007A0000000032010
    82	RAPDU(6A 82): 
    83	CAPDU:        00A4040007A0000000031010
    84	RAPDU(6A 82): 
    85	CAPDU:        00A4040007A0000000041010
    86	RAPDU(6A 82): 
    87	CAPDU:        00A4040007A0000000043060
    88	RAPDU(6A 82): 
    89	CAPDU:        00A4040007A0000000032020
    90	RAPDU(6A 82): 
    91	CAPDU:        00A4040007A0000000033010
    92	RAPDU(6A 82): 
    93	CAPDU:        00A4040007A0000000034010
    94	RAPDU(6A 82): 
    95	CAPDU:        00A4040007A0000000035010
    96	RAPDU(6A 82): 
    97	CAPDU:        00A4040007A0000000038010
    98	RAPDU(6A 82): 
    99	CAPDU:        00A4040009A00000000410101213
   100	RAPDU(6A 82): 
   101	CAPDU:        00A4040009A00000000410101215
   102	RAPDU(6A 82): 
   103	CAPDU:        00A4040007A0000000042010
   104	RAPDU(6A 82): 
   105	CAPDU:        00A4040007A0000000043010
   106	RAPDU(6A 82): 
   107	CAPDU:        00A4040007A0000000044010
   108	RAPDU(6A 82): 
   109	CAPDU:        00A4040007A0000000045010
   110	RAPDU(6A 82): 
   111	CAPDU:        00A4040007A0000000046000
   112	RAPDU(6A 82): 
   113	CAPDU:        00A4040007A0000000050001
   114	RAPDU(6A 82): 
   115	CAPDU:        00A4040007A0000000050001
   116	RAPDU(6A 82): 
   117	CAPDU:        00A4040007A0000000250000
   118	RAPDU(6A 82): 
   119	CAPDU:        00A4040006A00000002501
   120	RAPDU(6A 82): 
   121	CAPDU:        00A4040007A0000000291010
   122	RAPDU(6A 82): 
   123	CAPDU:        00A4040007A0000001410001
   124	RAPDU(6A 82): 
   125	CAPDU:        00A4040007A0000002281010
   126	RAPDU(6A 82): 
   127	CAPDU:        00A4040007A0000002771010
   128	RAPDU(6A 82): 
   129	CAPDU:        00A404000AA0000003591010028001
   130	RAPDU(6A 82): 
   131	Will use the following application: SecureCode Aut (type CAP)
   132	CAPDU:        00A4040007A0000000048002
   133	RAPDU(90 00): 6F2E8407A0000000048002A5239F38039F35015F2D026672BF0C159F5501005F2C020056DF0709424B53303536303038
   134	Get Processing Options...
   135	Will use 34 for tag 9F35
   136	[<TLV
   137	    Tag:    83 (Command Template)
   138	            context specific class
   139	            primitive
   140	    Length: 1 bytes
   141	    Value:  34
   142	>]
   143	CAPDU:        80A8000003830134
   144	RAPDU(90 00): 770E8202100094080801010008040400
   145	[<TLV
   146	    Tag:    77 (response message template format 2)
   147	            application class
   148	            constructed
   149	    Length: 14 bytes
   150	    Value:  
   151	    [<TLV
   152	        Tag:    82 (application interchange profile (AIP))
   153	                context specific class
   154	                primitive
   155	        Length: 2 bytes
   156	        Value:  1000
   157	    >, <TLV
   158	        Tag:    94 (application file locator)
   159	                context specific class
   160	                primitive
   161	        Length: 8 bytes
   162	        Value:  0801010008040400
   163	    >]
   164	>]
   165	Read record 01 of SFI 01...
   166	CAPDU:        00B2010C00
   167	RAPDU(90 00): 703E5A0967030405123456789F5F3401025F25030801015F2403121231571367030405123456789D1212221000002200009F5F280200569F420209789F440102
   168	[<TLV
   169	    Tag:    70 (aef data template)
   170	            application class
   171	            constructed
   172	    Length: 62 bytes
   173	    Value:  
   174	    [<TLV
   175	        Tag:    5A (application Primary Account Number (PAN))
   176	                application class
   177	                primitive
   178	        Length: 9 bytes
   179	        Value:  67030405123456789F
   180	    >, <TLV
   181	        Tag:    5F34 (application PAN sequence number)
   182	                application class
   183	                primitive
   184	        Length: 1 bytes
   185	        Value:  02
   186	    >, <TLV
   187	        Tag:    5F25 (application effective date)
   188	                application class
   189	                primitive
   190	        Length: 3 bytes
   191	        Value:  080101
   192	        ==      YY=08 MM=01 DD=01
   193	    >, <TLV
   194	        Tag:    5F24 (application expiration date)
   195	                application class
   196	                primitive
   197	        Length: 3 bytes
   198	        Value:  121231
   199	        ==      YY=12 MM=12 DD=31
   200	    >, <TLV
   201	        Tag:    57 (track2 equivalent data)
   202	                application class
   203	                primitive
   204	        Length: 19 bytes
   205	        Value:  67030405123456789D1212221000002200009F
   206	    >, <TLV
   207	        Tag:    5F28 (issuer country code)
   208	                application class
   209	                primitive
   210	        Length: 2 bytes
   211	        Value:  0056
   212	    >, <TLV
   213	        Tag:    9F42 (application currency code)
   214	                context specific class
   215	                primitive
   216	        Length: 2 bytes
   217	        Value:  0978
   218	    >, <TLV
   219	        Tag:    9F44 (application currency exponent)
   220	                context specific class
   221	                primitive
   222	        Length: 1 bytes
   223	        Value:  02
   224	        ==      2 (0.00)
   225	    >]
   226	>]
   227	Read record 04 of SFI 01...
   228	CAPDU:        00B2040C00
   229	RAPDU(90 00): 70589F560B0000FF000000000003FFFF8E0A000000000000000001008C1B9F02069F03069F1A0295055F2A029A039C019F37049F4C029F34038D1F8A029F02069F03069F1A0295055F2A029A039C019F37049F4C029F3403910A
   230	[<TLV
   231	    Tag:    70 (aef data template)
   232	            application class
   233	            constructed
   234	    Length: 88 bytes
   235	    Value:  
   236	    [<TLV
   237	        Tag:    9F56 (Issuer Proprietary Bitmap (IPB))
   238	                context specific class
   239	                primitive
   240	        Length: 11 bytes
   241	        Value:  0000FF000000000003FFFF
   242	    >, <TLV
   243	        Tag:    8E (cardholder verification method (CMV) list)
   244	                context specific class
   245	                primitive
   246	        Length: 10 bytes
   247	        Value:  00000000000000000100
   248	    >, <TLV
   249	        Tag:    8C (card risk management dol 1 (cdol1))
   250	                context specific class
   251	                primitive
   252	        Length: 27 bytes
   253	        Value:  
   254	        [<TLV
   255	            Tag:    9F02 (Authorized Amount (AA))
   256	                    context specific class
   257	                    primitive
   258	            Length: 6 bytes
   259	            Value:  None
   260	        >, <TLV
   261	            Tag:    9F03 (Other Amount)
   262	                    context specific class
   263	                    primitive
   264	            Length: 6 bytes
   265	            Value:  None
   266	        >, <TLV
   267	            Tag:    9F1A (Terminal Country Code)
   268	                    context specific class
   269	                    primitive
   270	            Length: 2 bytes
   271	            Value:  None
   272	        >, <TLV
   273	            Tag:    95 (Terminal Verification Results)
   274	                    context specific class
   275	                    primitive
   276	            Length: 5 bytes
   277	            Value:  None
   278	        >, <TLV
   279	            Tag:    5F2A (Transaction Currency Code)
   280	                    application class
   281	                    primitive
   282	            Length: 2 bytes
   283	            Value:  None
   284	        >, <TLV
   285	            Tag:    9A (Transaction Date)
   286	                    context specific class
   287	                    primitive
   288	            Length: 3 bytes
   289	            Value:  None
   290	        >, <TLV
   291	            Tag:    9C (Transaction Type)
   292	                    context specific class
   293	                    primitive
   294	            Length: 1 bytes
   295	            Value:  None
   296	        >, <TLV
   297	            Tag:    9F37 (Unpredictable Number (UN))
   298	                    context specific class
   299	                    primitive
   300	            Length: 4 bytes
   301	            Value:  None
   302	        >, <TLV
   303	            Tag:    9F4C (ICC dynamic number)
   304	                    context specific class
   305	                    primitive
   306	            Length: 2 bytes
   307	            Value:  None
   308	        >, <TLV
   309	            Tag:    9F34 (cardholder verification method (cvm) results)
   310	                    context specific class
   311	                    primitive
   312	            Length: 3 bytes
   313	            Value:  None
   314	        >]
   315	    >, <TLV
   316	        Tag:    8D (card risk management dol 2 (cdol2))
   317	                context specific class
   318	                primitive
   319	        Length: 31 bytes
   320	        Value:  
   321	        [<TLV
   322	            Tag:    8A (Authorization Response Code)
   323	                    context specific class
   324	                    primitive
   325	            Length: 2 bytes
   326	            Value:  None
   327	        >, <TLV
   328	            Tag:    9F02 (Authorized Amount (AA))
   329	                    context specific class
   330	                    primitive
   331	            Length: 6 bytes
   332	            Value:  None
   333	        >, <TLV
   334	            Tag:    9F03 (Other Amount)
   335	                    context specific class
   336	                    primitive
   337	            Length: 6 bytes
   338	            Value:  None
   339	        >, <TLV
   340	            Tag:    9F1A (Terminal Country Code)
   341	                    context specific class
   342	                    primitive
   343	            Length: 2 bytes
   344	            Value:  None
   345	        >, <TLV
   346	            Tag:    95 (Terminal Verification Results)
   347	                    context specific class
   348	                    primitive
   349	            Length: 5 bytes
   350	            Value:  None
   351	        >, <TLV
   352	            Tag:    5F2A (Transaction Currency Code)
   353	                    application class
   354	                    primitive
   355	            Length: 2 bytes
   356	            Value:  None
   357	        >, <TLV
   358	            Tag:    9A (Transaction Date)
   359	                    context specific class
   360	                    primitive
   361	            Length: 3 bytes
   362	            Value:  None
   363	        >, <TLV
   364	            Tag:    9C (Transaction Type)
   365	                    context specific class
   366	                    primitive
   367	            Length: 1 bytes
   368	            Value:  None
   369	        >, <TLV
   370	            Tag:    9F37 (Unpredictable Number (UN))
   371	                    context specific class
   372	                    primitive
   373	            Length: 4 bytes
   374	            Value:  None
   375	        >, <TLV
   376	            Tag:    9F4C (ICC dynamic number)
   377	                    context specific class
   378	                    primitive
   379	            Length: 2 bytes
   380	            Value:  None
   381	        >, <TLV
   382	            Tag:    9F34 (cardholder verification method (cvm) results)
   383	                    context specific class
   384	                    primitive
   385	            Length: 3 bytes
   386	            Value:  None
   387	        >, <TLV
   388	            Tag:    91 (issuer authentication data)
   389	                    context specific class
   390	                    primitive
   391	            Length: 10 bytes
   392	            Value:  None
   393	        >]
   394	    >]
   395	>]
   396	Issuer Proprietary Bitmap: 0000FF000000000003FFFF
   397	CAPDU:        80CA9F1700
   398	RAPDU(90 00): 9F170103
   399	[<TLV
   400	    Tag:    9F17 (PIN Retry Counter)
   401	            context specific class
   402	            primitive
   403	    Length: 1 bytes
   404	    Value:  03
   405	    ==      3
   406	>]
   407	Still 3 PIN tries available!
   408	Simulation mode, PIN entry skipped
   409	CAPDU:        002000800824*** (masked as it contains PIN info)
   410	RAPDU(90 00): 
   411	Generate Application Cryptogram ARQC...
   412	Will use 000000000000 for tag 9F02
   413	Will use 000000000000 for tag 9F03
   414	Will use 0000 for tag 9F1A
   415	Will use 8000000000 for tag 95
   416	Will use 0000 for tag 5F2A
   417	Will use 000000 for tag 9A
   418	Will use 00 for tag 9C
   419	Will use 00000000 for tag 9F37
   420	Will use 0000 for tag 9F4C
   421	Will use 010002 for tag 9F34
   422	CAPDU:        80AE80002200000000000000000000000000008000000000000000000000000000000000010002
   423	RAPDU(90 00): 77269F2701809F3602005A9F2608513C1201B7DB02A09F100F06015603A400000700030000010002
   424	[<TLV
   425	    Tag:    77 (response message template format 2)
   426	            application class
   427	            constructed
   428	    Length: 38 bytes
   429	    Value:  
   430	    [<TLV
   431	        Tag:    9F27 (cryptogram information data)
   432	                context specific class
   433	                primitive
   434	        Length: 1 bytes
   435	        Value:  80
   436	    >, <TLV
   437	        Tag:    9F36 (Application Transaction counter (ATC))
   438	                context specific class
   439	                primitive
   440	        Length: 2 bytes
   441	        Value:  005A
   442	    >, <TLV
   443	        Tag:    9F26 (Application Cryptogram (AC))
   444	                context specific class
   445	                primitive
   446	        Length: 8 bytes
   447	        Value:  513C1201B7DB02A0
   448	    >, <TLV
   449	        Tag:    9F10 (Issuer Application Data)
   450	                context specific class
   451	                primitive
   452	        Length: 15 bytes
   453	        Value:  06015603A400000700030000010002
   454	    >]
   455	>]
   456	Got CID=80 ATC=005A AC=513C1201B7DB02A0 IAD=06015603A400000700030000010002
   457	Generate Application Cryptogram AAC...
   458	Will use 5A33 for tag 8A
   459	Will use 000000000000 for tag 9F02
   460	Will use 000000000000 for tag 9F03
   461	Will use 0000 for tag 9F1A
   462	Will use 8000000000 for tag 95
   463	Will use 0000 for tag 5F2A
   464	Will use 000000 for tag 9A
   465	Will use 00 for tag 9C
   466	Will use 00000000 for tag 9F37
   467	Will use 0000 for tag 9F4C
   468	Will use 010002 for tag 9F34
   469	Will use 00000000000000000000 for tag 91
   470	CAPDU:        80AE00002E5A330000000000000000000000000000800000000000000000000000000000000001000200000000000000000000
   471	RAPDU(90 00): 77269F2701009F3602005A9F2608AB0862BD0B5A7B8C9F100F0601560325A0000701030000010002
   472	[<TLV
   473	    Tag:    77 (response message template format 2)
   474	            application class
   475	            constructed
   476	    Length: 38 bytes
   477	    Value:  
   478	    [<TLV
   479	        Tag:    9F27 (cryptogram information data)
   480	                context specific class
   481	                primitive
   482	        Length: 1 bytes
   483	        Value:  00
   484	    >, <TLV
   485	        Tag:    9F36 (Application Transaction counter (ATC))
   486	                context specific class
   487	                primitive
   488	        Length: 2 bytes
   489	        Value:  005A
   490	    >, <TLV
   491	        Tag:    9F26 (Application Cryptogram (AC))
   492	                context specific class
   493	                primitive
   494	        Length: 8 bytes
   495	        Value:  AB0862BD0B5A7B8C
   496	    >, <TLV
   497	        Tag:    9F10 (Issuer Application Data)
   498	                context specific class
   499	                primitive
   500	        Length: 15 bytes
   501	        Value:  0601560325A0000701030000010002
   502	    >]
   503	>]
   504	Computing OTP...
   505	Data:  80005A513C1201B7DB02A006015603A400000700030000010002
   506	Filter:0000FF000000000003FFFF
   507	Data:  010110100101000100111100000100100000000110110111110110110000001010100000
   508	Filter:111111110000000000000000000000000000000000000000000000111111111111111111
   509	OTP:   01011010                                              110000001010100000
   510	Response: 23790240