Go Back   Sat Universe > DVB Cards Section > DVB Files > DVB Emulator Cam's

Note: Visitors from certain countries might see in-text advertising(underlind words in posts) or pop-under ads.
It is only shown to unregistered visitors or members that haven't made any posts. So you can easily get rid of it.

World-Of-Satellite

Open Card Reader Module for Cryptoworks, Nagra, ...

DVB Emulator Cam's

Closed Thread
  #1  
Old 25-03-2011, 22:40  Translate from English to Italian  Translate from English to French  Translate from English to German  Translate from English to Spanish  Translate from English to Dutch  Translate from English to Greek  Translate from English to Portuguese  Translate from English to Russian  Translate from English to Russian
juli13's Avatar
juli13 juli13 is offline
 
Join Date: Feb 2009
Posts: 9,661
Thanks: 6,411
Thanked 52,401 Times in 8,510 Posts
Default Open Card Reader Module for Cryptoworks, Nagra, ...

25/03/2011

Open Card Reader Module for Cryptoworks 1.1

The module will support Cryptoworks cards. It isn't complete because the RSA part for box key handling is missing.
The local Cryptoworks card init is based on open source oscam.]

How is it working:

Each card module have its unique INI file.
Example: sc_cw.mdl -> sc_cw.ini
In this INI file there have to be a section named like the file name:
Example: sc_cw.ini -> [sc_cw]
If this match you can set COM port, baudrate,....

Example for 2 local Cryptoworks cards
First local card is connected to COM1
Second local card is connected to COM3

Just make a copy of the module and rename like you want:
First: sc_cw_1.mdl -> sc_cw_1.ini -> [sc_cw_1] -> Port=COM1
Second: sc_cw_2.mdl -> sc_cw_2.ini -> [sc_cw_2] -> Port=COM3


It is also possible to use this module with original vPlug by vahid (tested with 2.6.4).
BUT vPlug only checks the first module if the CAID match. So you have to remove/rename the "cryptoworks.mdl"

vPlug_Server 1.0.2.11 will check now all modules if CAID match. So if the channel can not be decrypted by EMU it will check if any other module for this CAID exists.
You can set priority which module will checked first by the filename of the module.

Source
The source is written with Delphi 2010. Just feel free to modify or write your own local card module for other systems like Irdeto, Viaccess, ...
Just DO CHANGE the Author!!
Attached Files
File Type: rar OpenCardReaderModule_Cryptoworks_1.1.rar (459.6 KB, 279 views)
__________________
The Following 12 Users Say Thank You to juli13 For This Useful Post:
ahmed002177 (01-09-2012), atlas35 (26-03-2011), cher_chawki (09-08-2013), flatdish2 (11-05-2015), josagi (25-03-2011), kargo.25 (25-03-2011), marce (26-03-2011), mosaabsat (16-12-2011), oktagon (26-03-2011), [email protected] (26-03-2011), Serjoga (25-03-2011), sky star 2 (26-03-2011)
  #2  
Old 09-04-2011, 21:55  Translate from English to Italian  Translate from English to French  Translate from English to German  Translate from English to Spanish  Translate from English to Dutch  Translate from English to Greek  Translate from English to Portuguese  Translate from English to Russian  Translate from English to Russian
tani1's Avatar
tani1 tani1 is offline
 
Join Date: Oct 2007
Location: Sat Universe
Posts: 15,628
Thanks: 20,492
Thanked 145,578 Times in 15,748 Posts
Country: Country Flag
Default

09-04-2011

New Update v1.2

Cryptoworks 1.2, added RSA IPK handling, not tested,
Started Irdeto module, ECM & EMM handling isn't finsihed - can't test it.
Nagra module, tested with German HD+ 1843 card. ECM and EMM ok!

Quote:
Info: Server [16:14:26.198] Loading sc_nagra.mdl ...
Info: Module [16:14:26.226] sc_nagra: Start Nagravision card reader
Info: Module [16:14:26.226] sc_nagra: Try to open port COM2
Info: Module [16:14:26.244] sc_nagra: Resetting card...
Info: Module [16:14:27.608] sc_nagra: Using 368 mhz for cardclock
Info: Module [16:14:27.608] sc_nagra: Using actual 9600 baud, change it to 115200
Info: Module [16:14:27.616] sc_nagra: ATR: 3FFF9500FF918171A04700444E415350313830204D657230303028
Info: Module [16:14:27.616] sc_nagra: [Nagravision] Detected native Nagravision card
Info: Module [16:14:27.989] sc_nagra: [Nagravision] Type: NAGRA, CAID: 1843, IRD ID: FFFFFFFF
Info: Module [16:14:27.989] sc_nagra: [Nagravision] ProviderID 00003411
Info: Module [16:14:28.501] sc_nagra: [Nagravision] ID 8011, Tier: 0066, Date: 2011.04.07 - 2012.04.07
Info: Module [16:14:28.546] sc_nagra: [Nagravision] ID 8011, Tier: 0067, Date: 2010.01.19 - 2010.01.20
Info: Module [16:14:29.105] sc_nagra: [Nagravision] ROM: D N A S P 1 8 0
Info: Module [16:14:29.105] sc_nagra: [Nagravision] REV: M e r 0 0 0
Info: Module [16:14:29.105] sc_nagra: [Nagravision] SER: Hex: 48XXXXXX, ASCII: 122xxxxxxx
Info: Module [16:14:29.105] sc_nagra: [Nagravision] CAID: 1843
Info: Module [16:14:29.105] sc_nagra: [Nagravision] Prv.ID: 00003411 (sysid)
Info: Module [16:14:29.105] sc_nagra: [Nagravision] Prv.ID: 00000000
Info: Module [16:14:29.105] sc_nagra: [Nagravision] Prv.ID: 00008011
Info: Server [16:14:29.114] Added Card info of sc_nagra to card list
Info: Server [16:14:29.114] Loaded module: sc_nagra.mdl, Version: 1.0, Author: Project:Keynation
Thx schwa226
Attached Files
File Type: rar SC-Modules.rar (314.7 KB, 95 views)
__________________
No Card sharing discussion allowed on this forum.
No Support via PM sistem with questions that can be answered in open forum.
Note: Viewing Pay TV without a valid subscription is illegal.
All the files available here are kept for experimental and educational purpose only.
The Following 4 Users Say Thank You to tani1 For This Useful Post:
flatdish2 (11-05-2015), Ghost 707 (09-04-2011), mosaabsat (16-12-2011), sky star 2 (10-04-2011)
  #3  
Old 04-05-2011, 01:50  Translate from English to Italian  Translate from English to French  Translate from English to German  Translate from English to Spanish  Translate from English to Dutch  Translate from English to Greek  Translate from English to Portuguese  Translate from English to Russian  Translate from English to Russian
marokino08's Avatar
marokino08 marokino08 is offline
 
Join Date: Apr 2008
Posts: 7,529
Thanks: 33,394
Thanked 75,171 Times in 7,760 Posts
Country: Country Flag
Default

v1.3
small bug fix for nagra module
Attached Files
File Type: rar 1.3.rar (315.6 KB, 70 views)
The Following 6 Users Say Thank You to marokino08 For This Useful Post:
flatdish2 (11-05-2015), Ghost 707 (04-05-2011), guruguru (17-07-2011), josagi (04-05-2011), mosaabsat (16-12-2011), Serjoga (04-05-2011)
  #4  
Old 16-12-2011, 14:06  Translate from English to Italian  Translate from English to French  Translate from English to German  Translate from English to Spanish  Translate from English to Dutch  Translate from English to Greek  Translate from English to Portuguese  Translate from English to Russian  Translate from English to Russian
TheHighLander's Avatar
TheHighLander TheHighLander is offline
 
Join Date: Jan 2010
Posts: 4,144
Thanks: 12,667
Thanked 20,942 Times in 3,773 Posts
Arrow Open Card Reader Module for Cryptoworks, Nagra, ...

Latest source to the smartcard reader modules (v1.5)

*Added new exported function "Close_Card".
*Use this new exported function to close the COM port to the card reader.


Quote:
Exports Author;
Return module author. String null terminated.
------------------------------------------------

Exports Version;
Return module version. String null terminated.
------------------------------------------------

Exports CheckCurrentCAID;
Return true if requested CAID is supported by the module.

Parameter:
CAID : dword
------------------------------------------------

Exports SetShowDebug;
Set debug output on/off.

Parameter:
Showlog : Integer
------------------------------------------------

Exports ECMFunction;
Do ECM function of the module. Return true if ECM got successful decrypted.

Paramter:
Data: pointer to the ECM data
dw: pointer to the decrypted DCW
------------------------------------------------

Exports EMMFunction;
Do EMM function of the module. Return true if EMM got successful transfered.

Paramter:
Data: pointer to the EMM data
------------------------------------------------

Exports SetMessagesCallBackFn;
Use this function to init the card reader module.
------------------------------------------------

Exports SetRequestKeyCallBackFn;
Not used for card reader module.

Parameter:
fn : pointer to the callback function
------------------------------------------------

Exports SetPrepareEMMKeyCallBackFn;
Not used for card reader module.

Parameter:
fn : pointer to the callback function
------------------------------------------------

Exports SetSendCardDataCallBackFn;
Use this function to send the card data to the host.

Parameter:
fn : pointer to the callback function
------------------------------------------------

Exports Reset_Card;
Use this function to reset the card and refresh the entitlements.
------------------------------------------------

Exports Close_Card;
Use this function to close the comuncation to the card and COM port.
------------------------------------------------
Just try to get the pointers of the extra card reader functions like:

Quote:
// check if module have a exported card data function
OurModules[i].SetCardDataCallBackFn :=
GetProcAddress(DLLHandle, 'SetSendCardDataCallBackFn');

OurModules[i].Reset_Card :=
GetProcAddress(DLLHandle, 'Reset_Card');

OurModules[i].Close_Card :=
GetProcAddress(DLLHandle, 'Close_Card');
Quote:
procedure InitLocalCards();
var
i : Integer;
begin
for i := 0 to High(OurModules) do
begin
if Assigned(OurModules[i].SetCardDataCallBackFn) then
begin
// set card data callback function
Logger.Info(SERVER, 'Trying now to start local card reader ' + OurModules[i].mdlName);

try
OurModules[i].SetCardDataCallBackFn(@CardDataCallBack);
except
Logger.Error(SERVER, 'Error by setting card callback by module ' + OurModules[i].mdlName + ', skip module');
Continue;
end;
// set log msg function for card init
try
OurModules[i].SetMessagesCallBackFn(@GUIShowLog);
except
Logger.Error(SERVER, 'Error by setting message callback by module ' + OurModules[i].mdlName + ', skip module');
Continue;
end;
end;
end;
end;
Attached Files
File Type: rar SC-Modules_1.5.rar (1,008.3 KB, 200 views)
__________________
TBS 6908 Professional DVB-S2 Quad Tuner PCIe Card
Sky Star HD2 DVB-S2 Card
Sky Star DVB-S Card
Strong 4620X
The Following 10 Users Say Thank You to TheHighLander For This Useful Post:
ahmed002177 (01-09-2012), ameraldinho (12-09-2012), atlas35 (17-12-2011), digisis (14-06-2015), flatdish2 (11-05-2015), josagi (16-12-2011), koksa (25-02-2019), lik (16-12-2011), lol u me (16-12-2011), REBELLE (23-08-2012)
Closed Thread


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 18:50.


Powered by vBulletin
Copyright ©2006-2019 - Sat Universe