how to vplug

19
How to Enter BISS keys and constant DCW's Open vPlug's editor window -->SID's tab and then: Method-1 -You can add a new entry in SID's tab with BISS or constant DCW's. To find SID, TID, ?, right click on the desired channel and select properties. Most of the dvb applications will show these info for you. Method-2 -Tune to that specific channel, right click on the SID's tab entries and select "find current channel" option. Now if the related record exists, it will be selected or else it will be created based on the info of the current channel. Then you can edit its info and click at update button. Note, You can download a fresh .cache file and then import it. (import yankse-sid.cache section)

Upload: gscla51834

Post on 10-Apr-2015

4.779 views

Category:

Documents


25 download

TRANSCRIPT

Page 1: How to vPlug

How to Enter BISS keys and constant DCW's

Open vPlug's editor window

-->SID's tab and then:

Method-1-You can add a new entry in SID's tab with BISS or constant DCW's.To find SID, TID, ?, right click on the desired channel and select properties. Most of the dvb applications will show these info for you.

Method-2-Tune to that specific channel, right click on the SID's tab entries and select "find current channel" option. Now if the related record exists, it will be selected or else it will be created based on the info of the current channel. Then you can edit its info and click at update button.

Note,You can download a fresh .cache file and then import it. (import yankse-sid.cache section)

Page 2: How to vPlug

[Q.]What is the purpose of this tab?

[A.]Some of the dvb applications do not send any information about the encryption systems of the current channel to plugins via the known API's, such as watch-tv pro or dvb-viewer pro. These cache entries will help the vPlug to find the correct/decryptable ecm-pid faster. Otherwise vPlug have to start PMT filter to find the ecm-pid's + AutoECM thread to check all of the available pid's on the current channel to find the decryptable one. Yes, this process is not as fast as reading the good ecm-pid from the cache file (v_sids.db).

=========================================

How to edit keys?

Open vPlug's editor window/Keys tab and then:

Method-1-Add a new data and click at "add new" button or select one of the available records and then "update" it.

Method-2-Open an existing softcam.key file and then import it.

Notes,you can right click on the keys list and then delete all records and then import .key file, or close

Page 3: How to vPlug

your dvb application, delete v_keys.db file and then import data. (vPlug will create an empty .db file for you)

[Q.]How can I understand that the existing keys are incorrect?

[A.]Open vPlug's window. If you can see "incorrect hash" (any info except the "correct hash") in analyzed ecm section of ecm tab, it means the related key is incorrect. Also vPlug's info. window will show these quick info. for you.

[Q.]I'll miss the softcam.key.....

[A.]No, if you like this error prone file, just import it...

[Q.]I am using an external .db editor for updating keys, how can I force vPlug to read changes?

[A.]Select keys tab, right click on the keys list -> click at "reload whole .db" Or right click on the vPlug's tray icon, click at reread keys option.(vPlug1.3.8+)

[Q.]

Page 4: How to vPlug

What is the difference between 8 bytes and 6 bytes BISS keys?!

[A.]8 bytes format: 11 22 33 XX 55 66 77 YY or 6 bytes format: 11 22 33 55 66 77 XX and YY are check sums. XX = (11+22+33) and FF YY = (55+66+77) and FF

Note,If you prefer 8 bytes format, just enter those biss keys in constant dcw section. both of them have the same effect here. For example 1122330055667700 (vPlug will calculate check sum bytes)

[Q]What files are supposed to come with v_plug !!! I Downloaded it but there are more files listed in the readme file than what I have !!!

[A]According to readme.txt file:

Цитата

INSTALL-------

Decompress the ZIP file in the root (or plugins) folder of your TV application, in example "C:\DVB-APP\". The installed files should look like:C:\DVB-APP\Plugins\vPlug.dllC:\DVB-APP\Plugins\vplug.iniC:\DVB-APP\Plugins\au.BinC:\DVB-APP\Plugins\rsakeylistC:\DVB-APP\Plugins\v_emm.iniC:\DVB-APP\Plugins\v_get_key.iniC:\DVB-APP\Plugins\v_Radegast.iniC:\DVB-APP\Plugins\v_dcw_sharing.iniC:\DVB-APP\Plugins\tps.binC:\DVB-APP\Plugins\sqlite.mdlC:\DVB-APP\Plugins\CSA\*csa*.mdlC:\DVB-APP\Plugins\AUBins\*.binC:\DVB-APP\Plugins\vHelper.mdl

Latest vPlug package only has the updated files and not all of them. You can find other related files in older releases.

[Q]I just want to see TPS channels and nothing else! What can I do?!

[A]You need a fresh tps.bin file (Every day!). (search this forum, you will find more than what you

Page 5: How to vPlug

need!)

Just a little note about this method: Open vPlug's info window. It will show the current GMT based on the settings of your operating system. It MUST be equal to the result of this site:

h++p://www.timeanddate.com/worldclock/custom.html?continent=europe

Select your country and compare the GMT of vPlug's info window and the above site.

For example:

As you can see, both of the times are equal. Otherwise vPlug "can not" find the correct key based on the time stamps of keys.

And plz do not forget you need the latest vPlug.dll + vHelper.mdl + daily tps.bin files.

Cryptoworks FAQ

[Q.]ChannelXYZ with vPlug won't work, but with another emu's it is ok. Why!!!!????!!!!

[A]vPlug needs the following keys to work with Cryptoworks.

SoftCam.key format: (similar to camd3.keys files) ;W -> Cryptoworks ; 0DnnYY -> 0Dnn=CAID, YY=Provider id

Page 6: How to vPlug

W 0DnnYY 00 xxxxx ; 32 characters = ECM Key index 00 W 0DnnYY 01 xxxxx ; 32 characters = ECM Key index 01 W 0DnnYY 06 xxxxx ; 12 characters = CardSystem Key W 0DnnYY 80 xxxxx ; 32 characters = EMM-G Key index 00 W 0DnnYY 81 xxxxx ; 32 characters = EMM-G Key index 01 W 0DnnYY B0 xxxxx ; 128 characters = RSA Key

Other emu's have some built-in (hard coded) Cryptoworks keys which is not a good idea.For example without key06 (CardSystem Key) you can not open any Cryptoworks channel with vPlug, but other emu's have this key internally. Unfortunately most of the SoftCam.key makers do not include these keys in normal .key files and you can only see key00, key01 in these files and nothing else. (search this forum to find the addresses of some good .key files)

For example this is the correct cardSystem key for (W 0D035C 06 xxxx) -> DExxxxxxxx55

Note,If your DVB software does not send the correct CAID to vPlug, such as watch-tv-pro or dvb-viewer-pro, you can make a .key file with this format : W 00000C 00 XX; enter 0 instead of related CAID. Or turn on AutoPMT in vPlug.ini file. (by using preferences menu)

Nagra-2 FAQ

[Q.]I keep getting "Your keys file has not Nagra2 Idea Keys ". Why?!

[A.]vPlug needs the following keys and files for Nagra-2

Keys:ECM-keys: (in v_keys.db for watching TV!)N ProviderID 00 xxxxxxxxxx... ; IDEA key00N ProviderID 01 xxxxxxxxxx... ; IDEA key01 hereN ProviderID M1 xxxxxxxxxxxxxxxxxxxx?; for RSAN ProviderID V xxxxxxx ; enter 0101010101010101 to disable sig. checking; verify key

EMM-keys: (in v_keys.db for finding new keys)N ProviderID 02 xxxxxxx ; for idea_decryptN ProviderID 03 xxxxxxx ; for idea_signing (verify key)N ProviderID 12 xxxxxxx ; for RSA

If you have not these keys in v_keys.db, vPlug's info window will show some errors about them.

[Q.]where can I find ECM-Keys?

[A.]Normal softcam.key files have these keys, or search for the good v_keys.db file, or turn on AU (auto-update/ emm tab of vPlug), AU/AutoRoll feature of vPlug can update the above key0 and key1.

Page 7: How to vPlug

[Q.]where can I find EMM-Keys?

[A.]look for the last v_nagra2_key.ini file. (this file is not in use anymore, but contains those keys), or search for the good v_keys.db file.

[Q.]How can I enter these keys to v_keys.db?

[A.]read the 1st FAQ of this topic about entering new keys.

Required Files:AUBins\*.binvHelper.mdl

Note,-AUBins folder should be beside the vHelper.mdl file.-if vPlug couldn't find AUBins, look at the content of vHelper.log file (beside the vHelper.mdl) to see what is the expected path for these files, Otherwise this log file will have the normal debug info of emu6805.

+v_emm.iniIf you want to have continuous key search, set auto start on channel change to 1 and auto terminate on key find to 0 in v_emm.ini file.If you want to save system resources, set auto start on channel change to 0 and auto terminate on key find to 1.If you want to check key updates on channel change + saving system resources, set auto start on channel change to 1 and auto terminate on key find to 1.

[Q.]"I have manually input all the keys and receive a correct IDEA hash message but then get the message: There is no key in the decrypted EMM packet."Or[Q.]all of my emm keys are correct, but "sometimes" I give incorrect hash msg. why?!

[A.]It means everything is ok. You should wait max 7 minutes and let the vPlug to grab the correct key(s) from the incoming emm stream. Also it should be mentioned vPlug can not decrypt all of the emm-g packets. So if it can find the correct key in max 7 minutes, don't touch anything!

[Q.]What is the meaning of this msg? "please remove old-nargra 1 key from the key file?"

[A.]N2 OP keys (operational keys) are 16 bytes not 8 bytes. So you should remove old nagra-1 keys from the key file.Ex.

Page 8: How to vPlug

N 0901 01/00 0101010101010101 <- remove this one (8 byte key)N 0901 01/00 01010101010101010101010101010101

[Q.]vPlug and Proxy ....

[A.]a) proxy settings will be read from IE's preferences. (if UseProxy=0)-> For retrieving content of HTML pages or dcw-sharing (HTTP protocol)

Or

b)Edit these entries in vPlug.ini file (for example...)-> For retrieving content of HTML pages or dcw-sharing (HTTP protocol) or card client (TCP protocol + SOCKS connections are supported too)

[Proxy]UseProxy=1Host=myHostPort=8080Version=5Authentication=0UserName=usr1Password=pass1

Notes,- Plz use the preferences editor for applying new values, otherwise your changes won't be applied until the next restart of the dvb-app.- Radegast Card client uses a TCP connection for sending and receiving data. You can not use any card client plugins with your proxy server that does not support SOCKS. SOCKS is a generic IP-based proxy server that supports TCP and UDP applications + Some firewalls are capable of accepting only certain protocols and cannot handle TCP connections. For example, if your firewall is a Web proxy server with no generic connection handling mechanism, you will not be able to use it for this purpose (Primary (initial) and secondary (subsequent) TCP and UDP connections).- Also in vPlug.ini file you should have InternetAccess=1- Proxy settings will be applied to "all of the entries" of v_dcw_sharing.ini and v_get_key.ini and v_Radegast.ini files.

[Q.]How to find the new viaccess-1 keys by using vPlug

[A.]You need a good au.bin file for via-1 AU (auto update) which has the related MK+SA for your desired provider.Then tune to one of the channels of that provider. Open vPlug's monitor. Select EMM tab. Click at find pids.

Page 9: How to vPlug

Select the related emm-pid from the drop down list and click at start and wait (max. 7 minutes). Or create a v_emm.ini file with the suitable entries. The following example is the content of v_emm.ini file for SRG Swiss :

[009400]emm_pid_hex=0259AutoTerminateOnKeyFind=1AutoStartOnChannelChange=1

vPlug will update the key file automatically.

[Q.]v-dcw-sharing? What is this?!

[A.]Final results of the satellite encryption systems are DCW's (decrypted control words). It is not important this encryption system is Nagra2 or Irdeto2. By feeding these DCW's to CSA module (common scrambling algorithm), picture will be clear.

Page 10: How to vPlug

So DCW's are not normal keys and those are valid only for max. 10 seconds.v-dcw-sharing is a method of sharing these final dcw's through simple web pages. vPlug will read and parse your dcw pages.Clients only need a good v_dcw_sharing.ini file + setting IntentAccess to 1 in vPlug.ini file.You can track these communication by using its related tab in card client window of vPlug.

[Q.]How can I create a server for this method?

[A.]

WebSharing Method (DCW sharing from webpage)

People can get channel DCW?s with V-Plug 0.9.7 (dcw_cardsharing.ini). If you have a sharing server you can make a webpage for this easy multiple sharing system. (If you?re member a server u can find in Dream Box?s tmp folder file named ecm.info you can share it too.) (You Need Only Enough bandwidth)By the way if you do not want freezing, you need high speed broadband connection.

How We Make It!Hardware Needs:1- DreamBox (it could be triple dragon or all mgcamd devices.)2- A Linux server (it can possible same network with DreamBox or it can be on a dedicated server or in a simple IRC server with Ssh account your only special need is enough bandwidth.{especially you have users in same address})

After the hardware we need software:DreamBox based Manual:

Page 11: How to vPlug

1- Use MGcamD, CamD emus. (U Can use G-Box too but G-Boxes specialties makes problems.) I didn?t try other cams.2- After activate mgcamd or g-box you will find in your Dream Box?s tmp folder creates a file named ecm.info. This file gives you latest DCW dataset and this changes signals CW dataset to DW dataset. With this dataset CamD emus can open cryptic channels. (If you?re member a server u can find this file too and you can share it too.)

Now with a simple script we can send DW dataset in ecm.info file to Linux server and publish it on web.Normally html in Linux could found /var/www/html We are going there and open a new file with?

Код:

#!/bin/shwhile &ง 1 &ฉ; dowget ftp&෦//root&෦ [email protected]/tmp/ecm.infosleep 1mv ecm.info ecmchmod 777 ecmrm -rf ecm.infosleep 1cat ecm | grep -i "===== " | sed -e "s/^===== /""/Ig" > ecm.bilgicat ecm | grep -i "cw0& ෦ " | sed -e "s/^cw0& ෦ /""/Ig" > ecm1.testcat ecm | grep -i "cw1& ෦ " | sed -e "s/^cw1& ෦ /""/Ig" > ecm2.testcat ecm1.test | sed 's/&nbsp; *//g' > ecm1cat ecm2.test | sed 's/&nbsp; *//g' > ecm2cat ecm1 ecm2 | sed "s/&nbsp; *//g" | sed "s/&nbsp; *//g" > ecmlersleep 1done

Copy-paste this code and save named dcw.sh (it can be have other name too)We?re writing in the telnet console /bin/sh /var/www/html/dcw.sh and open the file. File written with 3 second DW editing mode and this is enough in most cases. In the fastest irdeto systems DW1 came in 3 sec and after that DW2 came other 3 sec and if we had only on DW we can watch it. In the other cryptic systems this time could be 4 -5 sec and this can be advantage for us. Sometimes some channels forget change dcw and of course this is better for us. Now we own a Linux web DCW database. And we need publish it.We need to write in /var/www/html an index.php.Open an empty file and write file like this.

Код:

<html><head><title>CANAL+ On Hotbird in CYFRA</title></head><body><?php

$dosya1_adi = "/var/www/html/ecmler";if &ු�$dosya1 = &ු�fopen &ු�$dosya1_adi , 'r'& & &

Page 12: How to vPlug

while & ු� ! feof &ු�$dosya1& & &褳$satir1 = fgets&ු�$dosya1,1024&;print &ු�"<br>$satir1"&;&nbsp; &nbsp;&褵fclose &ු�$dosya1&;?>

</body>

</html>

We must make chmod 755 values for this two file. You can write ?chmod 755 *? or you can give this value with ftp.If you have /var/www/html in httpd conf too in your page (page from your host) it started and they are now publishing latest DCW?s in every 3 seconds. With a form can use with v_plug.You can give this information formatted for v_dcw_sharing.ini just like it. (Channel Name must same DVB_S channel name)

Код:

&ง CANAL+&ฉsite_url=http&෦//www.dvbhack.com/dcw/index.phpregular_exp_pattern_to_find_key=&ු�?s&<br>&ු�.+?&</body>key_part1_exp=key_part2_exp=

After that you must not change Channel. And Thousands can watch same channel with you. (Only limit is for web server and bandwidth)

You can make this program better.

Meaning of different entries of vPlug.ini:

Values:1->enabled0->disabled

[main]active=1 set active to 0 to make vPlug inactive.

DW_even_Delay_ms=75DW_odd_Delay_ms=75These are the delays before sending final dcw's to the host program.For example Irdeto system needs DCW's as soon as possible, otherwise you will see a lot of micro freezes. So you can set these delays to 1 or 2 and so on.

use_TTTrick=0use_KS_driver=1

Page 13: How to vPlug

If you are using watch-TV-pro, set use_TTTrick to 1. if you are using watch-tv-pro + KS-drivers, set both of them to 1.

InternetAccess=1If you set this option to 0, vPlug never tries to connect to internet for v-dcw-sharing and similar activities.

FilesPath=If this option is empty, vPlug will search the current directory to find the related files.Or you can create a central folder for all of your favorites dvb-app's. Then set FilesPath to point to this dir. For example FilesPath=c:\myCentralLocation . Now you should copy vPlug.dll and vPlug.ini to plugin folders of different dvb-app's and not all of the related files.

DisplayErrors=1Set it to zero to turnoff vPlug's tray icon.

TranspondersPath=C:\AltDVB\SatFiles\TranspondersTranspondersUpdateURL=http://joshyfun.peque.org/transpondersThese option's are related to Transponders window of vPlug.

AutoStartCardSharing=0vPlug's Card client will not start if emu is working fine.

AutoPMT=0If you think your dvb-app does not parse CA info correctly, set AutoPMT to 1.

AutoECM=1If you want to force vPlug to test all of the available ecm-pids to find the working one (decryptable one), set this option to 1.

Freezes, High CPU usage, Blue screens!Q. What may cause freezes and high CPU usage when watching an encrypted channel?

A.DW’sDo not use multiple active EMU’s at once. This is very important.This is what emulators are supposed to do:- Receive ECM’s from the Host (DVB application)- Process those packets- send the result of this process (DW’s or decrypted words) back to the host.Now suppose you have 2 EMU’s running at once. One of them sends a correct DW and the other one sends an incorrect DW. The host program will process all of them. It is not able to identify which one is correct and which one is incorrect. The result is a freeze.

CodecsDo not mess around with so called All-in-one codec packages.If you want to screw up your Windows installation (especially if it’s Vista), go ahead! You will get freezes, poor video quality. This is NOT a problem with vplug, so don't complain!For example after installing the famous “vista codec package” on a Windows Vista machine you have only one option : reinstalling your Windows! BTW: For various reasons Vista is NOT recommended for dvb-s.

Page 14: How to vPlug

Poor signal level.Duh!

Blue screens!Blue screens are generally an indication of hardware conflicts.If you are using an AMD based computer and you have 2 or more blue screens per day, you should immediatly update the BIOS and drivers of your system. (I had the same problem)Try the latest driver of your dvb-s card instead of original driver which was shipped with your card.Also try non BDA drivers for your DVB-S card.Sometimes changing the PCI slot of your internal card will help.

Dual core CPU’sIncorrect synchronization with multithreading may cause freezes and deadlocks.Some dvb-s applications are NOT compatible with dual core CPU’s.Try to change the CPU affinity of your dvb-s application (by using windows task manager.) Some dvb-s applications provide this option in their properties menu or configuration parameters.

Running unnecessary featuresSatellite time was introduced in vPlug to solve the problem where TPS channels would work for approx. 5 minutes and then fail to decode.TPS uses this cycle:[Viaccess-1] - TPSCrypt4 - [Viaccess-1] - TPSCrypt4 and so on.[Viaccess-1] does not synchronization, but TPSCrypt4 does! So if your system time is incorrect, you will have picture - black - picture - black …By enabling SatTime in vPlug.ini, you don’t need to be worry about these details.Also, if your system time is correct, you can turn off SatTime which leads to faster switching between TPS channels and lower use of resources.Note: SatTime is on by default. This will not be changed in the future!! So if you can do without SatTime, you will have to set it back off after every upgrade!!

EMM handling needs a lot of system resources [Memory, CPU]. If your keys are correct, turn off EMM handling and AU in vPlug. (edit vPlug.ini or v_emm.ini)

CSA and FFdeCSACSA or common scrambling algorithm, is the final process of decrypting an encrypted signal and normally it’s done by the host (your dvb-s application) .It has been implemented in 2 ways: CSA.DLL and FFDeCSA.DLL. (most of the DVB applications have included these algo’s internally, so you won’t notice the existence of them.)CSA.DLL can only process one packet at a time, but FFDeCSA.DLL is designed to process multiple packets at once. So by using FFDeCSA, the CPU load will sink dramatically. This is even more important when decoding HD channels (where you need to reduce CPU load as much as possible). You will have a lot of freezes with encrypted HD channels if you do not use FFDeCSA. This is NOT a bug in the processing of ECM’s!You have 2 choices for HD channels. Upgrade your computer so you can continue using your current dvb application with CSA.DLL or switch to an application with FFDeCSA support.Currently (september 2007) ALT-DVB is using FFDeCSA(.dll) (as one of the 1st in Windows) but ProgDVB or MT are using CSA(.dll).

If you have a P-III, it’s better to buy a hardware based dvb-s card. For example the Nexus-s has

Page 15: How to vPlug

an onboard CSA chip and also MPEG2 decoder. This will result in max. 10% CPU usage on encrypted channels. However, these cards, by design, cannot pass the full TS to dvb applications which causes a lot of headaches for programmers. So most of the new dvb applications choose not to support them.