*停權中*
|
轉貼 必須使用wmp9 或 wmp10 才可以使用
hints:
* drmdbg should (if properly configured) show you SID. Turn on all necessary breakpoints (drmclien, wmvcore etc.) and look for DLL versions supported by it (CRC shown in drmdbg must be same as one from ini file)
* then fill in KID (look at the DRM file with hexeditor, it is stored as a unicode text in header) into the template
* Save completed template to drm2 directory (whatever.key)
* change computer date to 12/Feb/2005
* md c:\windows\#dummy (might not be always necessary)
* drm2wmv crypted.wmv
Open drmdbg.ini set all of the following settings from 0 to 1 and save the file.
quote:
--------------------------------------------------------------------------------
[wmp]
exe="C:\Program Files\Windows Media Player\wmplayer.exe"
;ieCache�㯝䎚\𡡀���
ieCache=
;stop=0�Enter key run�圝糎���
stop=0
;BP 0=��� 1=��
wmvcore=1;ieCache��kid㛁���萡炥
drmv2clt=1;blackbox&indivbox�珢𡞰炥
drmclien=1;DRM1�萡炥
blackbox=1;DRM2�萡炥
indivbox=1;DRM2�萡炥
--------------------------------------------------------------------------------
Then run drmdb from cmd prompt, press ENTER to let it start WMP, then open your drm-ed file. Wait till it has opened and plays correctly. You should see crc values being reported in the cmd prompt for the dll files. Close WMP.
Open drmdbg.ini and fill in your crc values for each of those dlls, there should be something like
quote:
--------------------------------------------------------------------------------
;9.0.0.3250
crc02=0xA34B52DD
adr02=0x156CB
reg02=0x50
--------------------------------------------------------------------------------
whereas the first line is your WMP version (Help -> About). In the 2nd line replace the crc value if it doenst match with yours (0x stays). I only got crc values for blackbox.dll / drmv2clt.dll and drmclien.dll but it worked for me. Whereas blackbox and drmclien were version 3250 for me and I put them there, for drmv2clt there was no 3250 but xpsp2 (which I'm running) so I filled it there.
Save the ini and run drmdbg again, WMP again, open your WMV again and this time it should report something like this:
quote:
--------------------------------------------------------------------------------
<DRM2WMV2>
<KID></KID>
<SID>EF2FL+8N+oJ1pMCiCoWexX23zMM=</SID>
<INFO></INFO>
[]
</DRM2WMV2>
--------------------------------------------------------------------------------
Copy it to a text file.
Open your WMV with a hex editor (like the one in VirtualDub) and look for the KID. Once you've found it copy it to your text file between <KID> and </KID>
Save the txt file with .key (something.key) extension and put it into the drm2 directory.
Now set your date to 12Feb/2005 and do md c:\windows\#dummy (Dont know if these steps are important but I did them anyway).
Run DRM2WMV -v yourprotectedfile.wmv , the unprotected file should be saved into the same directory (make sure you have enough hdd space).
|