diff options
| author | petrs | 2016-09-08 14:13:02 +0200 |
|---|---|---|
| committer | petrs | 2016-09-08 14:13:02 +0200 |
| commit | b97597bf20f5b44fb024c994cd3961c0a10d204b (patch) | |
| tree | 4a89584492d340301fa52d19b0ae8695b74ad4ec /!uploader | |
| parent | 003ea38d9a85888d2c4708737707e46d0ef79892 (diff) | |
| download | ECTester-b97597bf20f5b44fb024c994cd3961c0a10d204b.tar.gz ECTester-b97597bf20f5b44fb024c994cd3961c0a10d204b.tar.zst ECTester-b97597bf20f5b44fb024c994cd3961c0a10d204b.zip | |
initial commit
Diffstat (limited to '!uploader')
| -rw-r--r-- | !uploader/GPPcScConnectionPlugin.dll | bin | 0 -> 15360 bytes | |||
| -rw-r--r-- | !uploader/GPShell.exe | bin | 0 -> 33280 bytes | |||
| -rw-r--r-- | !uploader/GlobalPlatform.dll | bin | 0 -> 117248 bytes | |||
| -rw-r--r-- | !uploader/gp.exe | bin | 0 -> 908346 bytes | |||
| -rw-r--r-- | !uploader/gp.jar | bin | 0 -> 894200 bytes | |||
| -rw-r--r-- | !uploader/gppro_upload.bat | 5 | ||||
| -rw-r--r-- | !uploader/gppro_upload_emv.bat | 5 | ||||
| -rw-r--r-- | !uploader/libeay32.dll | bin | 0 -> 1017344 bytes | |||
| -rw-r--r-- | !uploader/openkms-gp.jar | bin | 0 -> 78142 bytes | |||
| -rw-r--r-- | !uploader/simpleECC.cap | bin | 0 -> 4938 bytes | |||
| -rw-r--r-- | !uploader/simpleECC221.cap | bin | 0 -> 4562 bytes | |||
| -rw-r--r-- | !uploader/simpleECC_NXP_JCOP_CJ2A081.txt | 54 | ||||
| -rw-r--r-- | !uploader/simpleECC_test.txt | 27 | ||||
| -rw-r--r-- | !uploader/simpleECC_testDHSecret.txt | 23 | ||||
| -rw-r--r-- | !uploader/simpleECC_testSetParams.txt | 27 | ||||
| -rw-r--r-- | !uploader/ssleay32.dll | bin | 0 -> 200704 bytes | |||
| -rw-r--r-- | !uploader/zlib1.dll | bin | 0 -> 75264 bytes |
17 files changed, 141 insertions, 0 deletions
diff --git a/!uploader/GPPcScConnectionPlugin.dll b/!uploader/GPPcScConnectionPlugin.dll Binary files differnew file mode 100644 index 0000000..3b27f6b --- /dev/null +++ b/!uploader/GPPcScConnectionPlugin.dll diff --git a/!uploader/GPShell.exe b/!uploader/GPShell.exe Binary files differnew file mode 100644 index 0000000..091eece --- /dev/null +++ b/!uploader/GPShell.exe diff --git a/!uploader/GlobalPlatform.dll b/!uploader/GlobalPlatform.dll Binary files differnew file mode 100644 index 0000000..6dca172 --- /dev/null +++ b/!uploader/GlobalPlatform.dll diff --git a/!uploader/gp.exe b/!uploader/gp.exe Binary files differnew file mode 100644 index 0000000..6478bf2 --- /dev/null +++ b/!uploader/gp.exe diff --git a/!uploader/gp.jar b/!uploader/gp.jar Binary files differnew file mode 100644 index 0000000..774d81a --- /dev/null +++ b/!uploader/gp.jar diff --git a/!uploader/gppro_upload.bat b/!uploader/gppro_upload.bat new file mode 100644 index 0000000..2f2ec8b --- /dev/null +++ b/!uploader/gppro_upload.bat @@ -0,0 +1,5 @@ +gp.exe -delete 4C6162616B417070 -deletedeps -verbose + +gp.exe -install simpleECC.cap -verbose + + diff --git a/!uploader/gppro_upload_emv.bat b/!uploader/gppro_upload_emv.bat new file mode 100644 index 0000000..dac8169 --- /dev/null +++ b/!uploader/gppro_upload_emv.bat @@ -0,0 +1,5 @@ +gp.exe -delete 4C6162616B417070 -deletedeps -verbose -emv + +gp.exe -install simpleECC.cap -verbose -emv + + diff --git a/!uploader/libeay32.dll b/!uploader/libeay32.dll Binary files differnew file mode 100644 index 0000000..b59a6b4 --- /dev/null +++ b/!uploader/libeay32.dll diff --git a/!uploader/openkms-gp.jar b/!uploader/openkms-gp.jar Binary files differnew file mode 100644 index 0000000..9cd5de5 --- /dev/null +++ b/!uploader/openkms-gp.jar diff --git a/!uploader/simpleECC.cap b/!uploader/simpleECC.cap Binary files differnew file mode 100644 index 0000000..62e38b6 --- /dev/null +++ b/!uploader/simpleECC.cap diff --git a/!uploader/simpleECC221.cap b/!uploader/simpleECC221.cap Binary files differnew file mode 100644 index 0000000..ba7bbb5 --- /dev/null +++ b/!uploader/simpleECC221.cap diff --git a/!uploader/simpleECC_NXP_JCOP_CJ2A081.txt b/!uploader/simpleECC_NXP_JCOP_CJ2A081.txt new file mode 100644 index 0000000..bec8ef7 --- /dev/null +++ b/!uploader/simpleECC_NXP_JCOP_CJ2A081.txt @@ -0,0 +1,54 @@ +# Usable for: NXP_JCOP_CJ2A081 +mode_211 +enable_trace +establish_context +card_connect +select -AID a000000003000000 +open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f + +delete -AID 010203040506070809 +delete -AID 010203040506 +delete -AID e1e2e3e4e5e6e7e8e9 +delete -AID e1e2e3e4e5e6 +delete -AID d1d2d3d4d5d6d7d8d9 +delete -AID d1d2d3d4d5d6 +delete -AID d1d2d3d4d5 +delete -AID b1b2b3b4b5b6b7b8b9 +delete -AID b1b2b3b4b5b6 +delete -AID a1a2a3a4a5a6a7a8a9 +delete -AID a1a2a3a4a5a6 +delete -AID 6D7970616330303031 +delete -AID 6D797061636B616731 +delete -AID a1a2a3a4a5a6a7a8a9 +delete -AID F1F2F3F4F5F6F7F8F9 +delete -AID F1F2F3F4F5F6 +delete -AID 313233343536373839 +delete -AID 313233343536 + +delete -AID 4c6162616b4170706c6574 +delete -AID 4c6162616b +delete -AID 4C6162616B4170706C6574 +delete -AID 4C6162616B417070 + +install -file simpleECC.cap -nvDataLimit 2000 -instParam 00a2a3a40002000000000000 + +select -AID 4C6162616B4170706C6574 + +send_apdu -APDU B05c0000020080 + +send_apdu -APDU B05c00000200A0 + +send_apdu -APDU B05c00000200c0 + +send_apdu -APDU B05c0000020100 + + + + +send_apdu -APDU B05b0000 + +send_apdu -APDU B05a0000 + + +card_disconnect +release_context diff --git a/!uploader/simpleECC_test.txt b/!uploader/simpleECC_test.txt new file mode 100644 index 0000000..8139511 --- /dev/null +++ b/!uploader/simpleECC_test.txt @@ -0,0 +1,27 @@ +mode_211 +enable_trace +establish_context +card_connect + +select -AID 4C6162616B4170706C6574 + +send_apdu -APDU B05c0000020080 +send_apdu -APDU B05c0100020080 + +send_apdu -APDU B05c00000200A0 +send_apdu -APDU B05c01000200A0 + +send_apdu -APDU B05c00000200c0 +send_apdu -APDU B05c01000200c0 + +send_apdu -APDU B05c0000020100 +send_apdu -APDU B05c0100020100 + + +send_apdu -APDU B05b0000 + +send_apdu -APDU B05a0000 + + +card_disconnect +release_context diff --git a/!uploader/simpleECC_testDHSecret.txt b/!uploader/simpleECC_testDHSecret.txt new file mode 100644 index 0000000..eb6ab5f --- /dev/null +++ b/!uploader/simpleECC_testDHSecret.txt @@ -0,0 +1,23 @@ +mode_211 +enable_trace +establish_context +card_connect + +select -AID 4C6162616B4170706C6574 + +send_apdu -APDU B05c01020200c0 +send_apdu -APDU B05d000000 + +send_apdu -APDU B05d000031049d42769dfdbe113a851bb6b01b1a515d893b5adbc1f6132974749ac0967a8ff4cc54d93187602dd67eb3d22970aca2ca +send_apdu -APDU B05d000031040178e496f67c822b0d33636bcb1e046f716d8d978d6e4cbc3bfef0789e5d3c42c43598d1b0cb44a654c79c21a6a3686a + +send_apdu -APDU B05d00003104e56ae9ef1f7d2a9dfdb6fd2906218138d72ef0a0ad1e8edd288e33450b0e723a3ab9c72a886360026f37482f86f56242 + + + +send_apdu -APDU B05d00003104C9C0EDFB27B71EBE3093FC4F337638CEE02F78F63CEA902261328E9F038AFD60A0CE019B7634597964D7798E3B16D515 +send_apdu -APDU B05d00003104C9C0EDFB27B71EBE3113FC4F337638CEE02F78F63CEA902261328E9F038AFD60A0CE019B7634597964D7798E3B16D515 + + +card_disconnect +release_context diff --git a/!uploader/simpleECC_testSetParams.txt b/!uploader/simpleECC_testSetParams.txt new file mode 100644 index 0000000..09d967a --- /dev/null +++ b/!uploader/simpleECC_testSetParams.txt @@ -0,0 +1,27 @@ +mode_211 +enable_trace +establish_context +card_connect + +select -AID 4C6162616B4170706C6574 +send_apdu -APDU B05c0000020180 + +send_apdu -APDU B05c0000020080 +send_apdu -APDU B05c0100020080 +send_apdu -APDU B05c0102020080 + +send_apdu -APDU B05c00000200a0 +send_apdu -APDU B05c01000200a0 +send_apdu -APDU B05c01020200a0 + +send_apdu -APDU B05c00000200c0 +send_apdu -APDU B05c01000200c0 +send_apdu -APDU B05c01020200c0 + +send_apdu -APDU B05c0000020100 +send_apdu -APDU B05c0100020100 +send_apdu -APDU B05c0102020100 + + +card_disconnect +release_context diff --git a/!uploader/ssleay32.dll b/!uploader/ssleay32.dll Binary files differnew file mode 100644 index 0000000..e8fabb6 --- /dev/null +++ b/!uploader/ssleay32.dll diff --git a/!uploader/zlib1.dll b/!uploader/zlib1.dll Binary files differnew file mode 100644 index 0000000..31996cd --- /dev/null +++ b/!uploader/zlib1.dll |
