- Joined
- Apr 22, 2020
- Messages
- 138
- Reaction score
- 227
- Points
- 43
Ofline
Experimental CW-Validation Patch for OSCam Cardserver v2.25.04-11882@5b0e21fc
ECM Validation caid 1803 and 1861 CRC16/MD5 and structure ecm
Patch description:
I also added oscam_patch-1803_1861_fakecw.zip auto patch for the original source code but I didn't test it... Maybe the patch implementation needs to be improved
I'm not good at writing patches but the file sources are patched manualy and 100% work.
ECM Validation caid 1803 and 1861 CRC16/MD5 and structure ecm
Patch description:
- Scope of action: The patch works for CAID 1803 and 1861.
- CW verification:
- Checks if the first 8 bytes of CW are identical to the second 8 bytes.
- If the CW meets this condition, it considers it fake CW.
- Reaction to the fake CW:
- Sets the status of the ECM response to E_NOTFOUND (key not found).
- Blocks the fake CW from being cached.
- Interrupts further processing of the response.
- Impact on stability:
- Elimination of fake CW improves the stability of OSCam.
- Reduces the risk of decoding problems and minimizes latency.
- Integration with Cache-EX:
- The patch also blocks the distribution of fake CW in the Cache-EX system (for CAID 1803 and 1861).
- Place of operation:
- Adds a call to the check_fakecw() function at a key point when handling ECM.
I also added oscam_patch-1803_1861_fakecw.zip auto patch for the original source code but I didn't test it... Maybe the patch implementation needs to be improved
I'm not good at writing patches but the file sources are patched manualy and 100% work.