Author Topic: 1rd3t0 Commands  (Read 324 times)

0 Members and 1 Guest are viewing this topic.

Offline antox

  • Ferengi
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 16798
1rd3t0 Commands
« on: February 03, 2010, 12:50:43 PM »
1rd3t0 Commands

1rd3t0 Commands to get all information from your GammaCard.

How To Use:
Code: You are not allowed to view links. Register or Login
Only with emk you can send this comands to your gamma at position string to send to card you take the mesage not succesfull but also you take the information that your card recieved.

Offline labud

  • Administrator
  • Hero Member
  • *****
  • Posts: 9026
Re: 1rd3t0 Commands
« Reply #1 on: February 04, 2010, 02:55:08 PM »
1rd3t0 Commands to get all information from your (GammaCard)

IrdetoCommands to get all information from your GammaCard. How To Use: Only with emk you can send this comands to your gamma at position string to send to card you take the mesage not succesfull but also you take the information that your card recieved




Code: You are not allowed to view links. Register or Login
cmd class Ins Ref1 Ref2 Lenth Data
----------------------------------------------------------------------------------------
01 02 00 00 00 00     Get ASCII Serial Number
----------------------------------------------------------------------------------------
01 02 01 00 00 00   Get HEX Serial Number
----------------------------------------------------------------------------------------
01 02 02 00 00 00 Get Country Code
----------------------------------------------------------------------------------------
01 02 03 00 xx 00 Get Provider xx ID (max 4 providers in 2.x and 4.x cards)
----------------------------------------------------------------------------------------
01 02 04 00 xx 01 yy Get chid Block yy for Provider xx.Block is 60 bytes Max.
number of Blocks depends on card type.for 2.1 and 2.2 is 13 Blocks.
----------------------------------------------------------------------------------------
01 02 05 00 00 00 Get 00 00 + 49 bytes (FF)
----------------------------------------------------------------------------------------
01 02 06 00 00 00 Return error code 0050  ( Ref1 error ?? )
----------------------------------------------------------------------------------------
01 02 07 00 00 40... Write 64 bytes to register 08 (Return code 0700)
----------------------------------------------------------------------------------------
01 02 08 00 00 00 Get 64 register 08
----------------------------------------------------------------------------------------
01 02 09 03 xx 40 ... Set camkey to card. xx is index byte for which camkey to
use. data is 64 bytes (8 keys x 8 bytes)
----------------------------------------------------------------------------------------
01 02 0A 00 xx 02 ... check PIN code     xx= (00)Parental PIN
01 02 0A 01 xx 04 ... change PIN code  (01)IPPV PIN
 (02)Home-Shopping PIN
       (03)General PIN
check (data = 2 bytes pin code)
change (data = 2 bytes old pin code + 2 bytes new)
If ok return 50 or 51 not ok 52 chenged ok

01 02 0A 02 02 02 00 00    --> ???????????????????? idon't know check this later
01 02 0A 03 02 04 00 00 00 00 --> ???????????????????? idon't know check this later

------------------------------------------------------------------------------------------
01 02 0B 00 00 00 Country Code + ???? + 2 bytes for maximum
ChID for each provider + 30 bytes(00).
-------------------------------------------------------------------------------------------
01 02 0C 00 00 00       11 bytes (00)
-------------------------------------------------------------------------------------------
01 02 0D 00 00 00       14 bytes (00)
-------------------------------------------------------------------------------------------
01 02 0E xx 00 00 xx= 2  Read Card File 2
xx= 3  Read Card File 3
--------------------------------------------------------------------------------------------
01 02 0F 00 xx 00 Get ASCII Serial + Provider xx + Provider id xx + 8 bytes Encrypted + 8 bytes Signature ??.
--------------------------------------------------------------------------------------------
01 02 10 00 00 00       Get ASCII Serial + 0000 + 64 bytes(FF) + 8 bytes Signature??.
--------------------------------------------------------------------------------------------
01 02 11 00 00 40 ... Send 64 bytes data to be Encrypted by RSA public-key encryption
--------------------------------------------------------------------------------------------
01 02 12 00 00 00       Return error code 5D00
---------------------------------------------------------------------------------------------
01 02 13 00 00 00       15 bytes(00)
--------------------------------------------------------------------------------------------
01 02 14 00 00 00   02 bytes (00 80)
--------------------------------------------------------------------------------------------
01 02 15 00 xx 00     If xx=00 return Encrypted 128 bytes
If xx=01 return another Encrypted 128 bytes
---------------------------------------------------------------------------------------------
01 02 16 xx 00 00 If xx 01 or 02 Return error code 0092 else 0096  
If we send xx =00 Return error code 00 96
then send xx =01 return Encrypted 128 bytes
-------------------------------------------------------------------------------------------
01 02 17 xx 00 00 If xx 01 or 02 Return error code 5100 else 0096  
-------------------------------------------------------------------------------------------
01 02 18 xx 00 00 If xx 00 or 01 Return error code 0093 else 0053
-------------------------------------------------------------------------------------------
01 02 19 xx 00 00 If xx 00   Return error code 0011 else 0007
-------------------------------------------------------------------------------------------
01 02 1A 00 00 00        Return error code 0007  
-------------------------------------------------------------------------------------------
01 02 1B 40 00 00        64 bytes Encrypted
-------------------------------------------------------------------------------------------
01 02 1C 00 xx 00 07 bytes (00) if provider xx availabe
-------------------------------------------------------------------------------------------
01 02 1D 00 00 00 Return error code 0050
-------------------------------------------------------------------------------------------
01 02 1E 00 00 00 Return error code 0050  
-------------------------------------------------------------------------------------------
01 02 1F 00 00 00 Return error code 0050
-------------------------------------------------------------------------------------------
01 02 20 00 00 00 Return error code 0050
 


 


 
   
for ACS 5.0 new commands
================================
01 00 03 00 00 00     return 2 bytes 50 53
01 00 03 01 00 00     return 4 bytes 05 05 0A 0A
01 00 03 02 00 00     return 5 bytes 00 95 3F 00 00
01 00 03 03 00 00     return 10 bytes 14 24 39 E1 34 F4 00 00 28 56

01 02 20 00 00 10 02 1A 00 01 01 00 00 00 00 01 00 00 00 00 00 00  (write 16 bytes)
01 02 21 00 00 00 (Get 16 bytes wroted by 01 02 20 00 00)
01 02 1E 00 00 00
01 02 1F 00 00 00
01 02 1C 03 0x 00  (x = 0 to 4 check if the privider availabe)
01 02 23 00 00 00

-----------------------------------------
01 02 05 00 00 00 removed was there older card
01 02 10 00 00 00 removed
01 02 16 00 00 00 removed
-----------------------------------------------








UNAUTHORIZED DECODING OF ENCRYPTED SIGNALS FROM EITHER DOMESTIC OR FOREIGN PROVIDERS IS AGAINST THE LAW !!!
INFORMATION CONTAINED IN MY POSTS ["C/P FROM ANOTHER SITE"] ARE FOR LEARNING AND EDUCATIONAL PURPOSES ONLY !!!
PLEASE, DO NOT SEND ME PRIVATE MESSAGES WITH TECHNICAL QUESTIONS, USE FORUM FOR IT !!!