Skip to content

Commit

Permalink
patches: Add patches for 33.0.0.301 Release, Debug, Windows 8+ and bu…
Browse files Browse the repository at this point in the history
…mp version to v1.23
  • Loading branch information
darktohka committed Sep 4, 2023
1 parent b7587d6 commit 2771b94
Show file tree
Hide file tree
Showing 3 changed files with 307 additions and 7 deletions.
300 changes: 300 additions & 0 deletions FlashPatch/Patches.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9228,6 +9228,306 @@ public class Patches {
new byte[] { 0xB8, 0x01, 0x00, 0x00, 0x00, 0xC3 }
),
}),
new PatchableBinary(
"Chinese Chrome 64-bit Plugin (Pepper)", "pepflashplayer64_34_0_0_301.dll", "34,0,0,301", true, 16089056, new List<HexPatch>() {
new HexPatch(
0x217269,
new byte[] { 0x74, 0x28 },
new byte[] { 0x90, 0x90 }
),
new HexPatch(
0x217272,
new byte[] { 0x75, 0x1F },
new byte[] { 0x90, 0x90 }
),
new HexPatch(
0x41A580,
new byte[] { 0x48, 0x89, 0x5C, 0x24, 0x10, 0x57 },
new byte[] { 0xB8, 0x01, 0x00, 0x00, 0x00, 0xC3 }
),
}),
new PatchableBinary(
// Debug version
"Chinese Chrome 64-bit Plugin (Pepper)", "pepflashplayer64_34_0_0_301.dll", "34,0,0,301", true, 17038816, new List<HexPatch>() {
new HexPatch(
0x328A21,
new byte[] { 0x74, 0x28 },
new byte[] { 0x90, 0x90 }
),
new HexPatch(
0x328A2A,
new byte[] { 0x75, 0x1F },
new byte[] { 0x90, 0x90 }
),
new HexPatch(
0x43C230,
new byte[] { 0x48, 0x89, 0x5C, 0x24, 0x10, 0x57 },
new byte[] { 0xB8, 0x01, 0x00, 0x00, 0x00, 0xC3 }
),
}),
new PatchableBinary(
"Chinese Chrome 32-bit Plugin (Pepper)", "pepflashplayer32_34_0_0_301.dll", "34,0,0,301", false, 8991712, new List<HexPatch>() {
new HexPatch(
0x13F741,
new byte[] { 0x74, 0x23 },
new byte[] { 0x90, 0x90 }
),
new HexPatch(
0x13F74A,
new byte[] { 0x75, 0x1A },
new byte[] { 0x90, 0x90 }
),
new HexPatch(
0x25A1A3,
new byte[] { 0x53, 0x56, 0x8B, 0xF1, 0x57, 0x8B },
new byte[] { 0xB8, 0x01, 0x00, 0x00, 0x00, 0xC3 }
),
}),
new PatchableBinary(
// Debug version
"Chinese Chrome 32-bit Plugin (Pepper)", "pepflashplayer32_34_0_0_301.dll", "34,0,0,301", false, 9595872, new List<HexPatch>() {
new HexPatch(
0x198E27,
new byte[] { 0x74, 0x23 },
new byte[] { 0x90, 0x90 }
),
new HexPatch(
0x198E30,
new byte[] { 0x75, 0x1A },
new byte[] { 0x90, 0x90 }
),
new HexPatch(
0x25CE27,
new byte[] { 0x53, 0x56, 0x8B, 0xF1, 0x57, 0x8B },
new byte[] { 0xB8, 0x01, 0x00, 0x00, 0x00, 0xC3 }
),
}),
new PatchableBinary(
"Chinese Firefox 64-bit Plugin (NPAPI)", "NPSWF64_34_0_0_301.dll", "34,0,0,301", true, 12165600, new List<HexPatch>() {
new HexPatch(
0x2FCAD9,
new byte[] { 0x74, 0x28 },
new byte[] { 0x90, 0x90 }
),
new HexPatch(
0x2FCAE2,
new byte[] { 0x75, 0x1F },
new byte[] { 0x90, 0x90 }
),
new HexPatch(
0x33DA28,
new byte[] { 0x48, 0x89, 0x5C, 0x24, 0x08, 0x48 },
new byte[] { 0xB8, 0x01, 0x00, 0x00, 0x00, 0xC3 }
),
}),
new PatchableBinary(
// Debug version
"Chinese Firefox 64-bit Plugin (NPAPI)", "NPSWF64_34_0_0_301.dll", "34,0,0,301", true, 13156320, new List<HexPatch>() {
new HexPatch(
0x31552F,
new byte[] { 0x74, 0x28 },
new byte[] { 0x90, 0x90 }
),
new HexPatch(
0x315538,
new byte[] { 0x75, 0x1F },
new byte[] { 0x90, 0x90 }
),
new HexPatch(
0x357F7C,
new byte[] { 0x48, 0x89, 0x5C, 0x24, 0x08, 0x48 },
new byte[] { 0xB8, 0x01, 0x00, 0x00, 0x00, 0xC3 }
),
}),
new PatchableBinary(
"Chinese Firefox 32-bit Plugin (NPAPI)", "NPSWF32_34_0_0_301.dll", "34,0,0,301", false, 9904608, new List<HexPatch>() {
new HexPatch(
0x263823,
new byte[] { 0x74, 0x23 },
new byte[] { 0x90, 0x90 }
),
new HexPatch(
0x26382C,
new byte[] { 0x75, 0x1A },
new byte[] { 0x90, 0x90 }
),
new HexPatch(
0x29788F,
new byte[] { 0x55, 0x8B, 0xEC, 0x53, 0x56, 0x8B },
new byte[] { 0xB8, 0x01, 0x00, 0x00, 0x00, 0xC3 }
),
}),
new PatchableBinary(
// Debug version
"Chinese Firefox 32-bit Plugin (NPAPI)", "NPSWF32_34_0_0_301.dll", "34,0,0,301", false, 10725856, new List<HexPatch>() {
new HexPatch(
0x275FF2,
new byte[] { 0x74, 0x21 },
new byte[] { 0x90, 0x90 }
),
new HexPatch(
0x275FFB,
new byte[] { 0x75, 0x18 },
new byte[] { 0x90, 0x90 }
),
new HexPatch(
0x2AB689,
new byte[] { 0x55, 0x8B, 0xEC, 0x53, 0x56, 0x8B },
new byte[] { 0xB8, 0x01, 0x00, 0x00, 0x00, 0xC3 }
),
}),
new PatchableBinary(
"Chinese IE 64-bit Plugin (ActiveX)", "Flash64_34_0_0_301.ocx", "34,0,0,301", true, 12610016, new List<HexPatch>() {
new HexPatch(
0x2FD639,
new byte[] { 0x74, 0x28 },
new byte[] { 0x90, 0x90 }
),
new HexPatch(
0x2FD642,
new byte[] { 0x75, 0x1F },
new byte[] { 0x90, 0x90 }
),
new HexPatch(
0x33E0E0,
new byte[] { 0x48, 0x89, 0x5C, 0x24, 0x08, 0x48 },
new byte[] { 0xB8, 0x01, 0x00, 0x00, 0x00, 0xC3 }
),
}),
new PatchableBinary(
// Windows 8+ specific plugin
"Chinese IE 64-bit Plugin (ActiveX)", "Flash64_34_0_0_301.ocx", "34,0,0,301", true, 13851616, new List<HexPatch>() {
new HexPatch(
0x161020,
new byte[] { 0x48, 0x89, 0x5C, 0x24, 0x08, 0x48 },
new byte[] { 0xB8, 0x01, 0x00, 0x00, 0x00, 0xC3 }
),
new HexPatch(
0x249020,
new byte[] { 0x74, 0x28 },
new byte[] { 0x90, 0x90 }
),
new HexPatch(
0x249029,
new byte[] { 0x75, 0x1F },
new byte[] { 0x90, 0x90 }
),
}),
new PatchableBinary(
// Debug version
"Chinese IE 64-bit Plugin (ActiveX)", "Flash64_34_0_0_301.ocx", "34,0,0,301", true, 13587936, new List<HexPatch>() {
new HexPatch(
0x314B0F,
new byte[] { 0x74, 0x28 },
new byte[] { 0x90, 0x90 }
),
new HexPatch(
0x314B18,
new byte[] { 0x75, 0x1F },
new byte[] { 0x90, 0x90 }
),
new HexPatch(
0x3571D0,
new byte[] { 0x48, 0x89, 0x5C, 0x24, 0x08, 0x48 },
new byte[] { 0xB8, 0x01, 0x00, 0x00, 0x00, 0xC3 }
),
}),
new PatchableBinary(
// Debug version
// Windows 8+ specific plugin
"Chinese IE 64-bit Plugin (ActiveX)", "Flash64_34_0_0_301.ocx", "34,0,0,301", true, 14691296, new List<HexPatch>() {
new HexPatch(
0x16108C,
new byte[] { 0x48, 0x89, 0x5C, 0x24, 0x08, 0x57 },
new byte[] { 0xB8, 0x01, 0x00, 0x00, 0x00, 0xC3 }
),
new HexPatch(
0x24DB64,
new byte[] { 0x74, 0x28 },
new byte[] { 0x90, 0x90 }
),
new HexPatch(
0x24DB6D,
new byte[] { 0x75, 0x1F },
new byte[] { 0x90, 0x90 }
),
}),
new PatchableBinary(
"Chinese IE 32-bit Plugin (ActiveX)", "Flash32_34_0_0_301.ocx", "34,0,0,301", false, 9976800, new List<HexPatch>() {
new HexPatch(
0x262173,
new byte[] { 0x74, 0x23 },
new byte[] { 0x90, 0x90 }
),
new HexPatch(
0x26217C,
new byte[] { 0x75, 0x1A },
new byte[] { 0x90, 0x90 }
),
new HexPatch(
0x295EE3,
new byte[] { 0x55, 0x8B, 0xEC, 0x53, 0x56, 0x8B },
new byte[] { 0xB8, 0x01, 0x00, 0x00, 0x00, 0xC3 }
),
}),
new PatchableBinary(
// Windows 8+ specific plugin
"Chinese IE 32-bit Plugin (ActiveX)", "Flash32_34_0_0_301.ocx", "34,0,0,301", false, 11891680, new List<HexPatch>() {
new HexPatch(
0x161130,
new byte[] { 0x55, 0x8B, 0xEC, 0x56, 0x8B, 0xF1 },
new byte[] { 0xB8, 0x01, 0x00, 0x00, 0x00, 0xC3 }
),
new HexPatch(
0x23D8FD,
new byte[] { 0x74, 0x21 },
new byte[] { 0x90, 0x90 }
),
new HexPatch(
0x23D906,
new byte[] { 0x75, 0x18 },
new byte[] { 0x90, 0x90 }
),
}),
new PatchableBinary(
// Debug version
"Chinese IE 32-bit Plugin (ActiveX)", "Flash32_34_0_0_301.ocx", "34,0,0,301", false, 10793440, new List<HexPatch>() {
new HexPatch(
0x274642,
new byte[] { 0x74, 0x21 },
new byte[] { 0x90, 0x90 }
),
new HexPatch(
0x27464B,
new byte[] { 0x75, 0x18 },
new byte[] { 0x90, 0x90 }
),
new HexPatch(
0x2A97A1,
new byte[] { 0x55, 0x8B, 0xEC, 0x53, 0x56, 0x8B },
new byte[] { 0xB8, 0x01, 0x00, 0x00, 0x00, 0xC3 }
),
}),
new PatchableBinary(
// Debug version
// Windows 8+ specific plugin
"Chinese IE 32-bit Plugin (ActiveX)", "Flash32_34_0_0_301.ocx", "34,0,0,301", false, 12770272, new List<HexPatch>() {
new HexPatch(
0x175420,
new byte[] { 0x55, 0x8B, 0xEC, 0x56, 0x8B, 0xF1 },
new byte[] { 0xB8, 0x01, 0x00, 0x00, 0x00, 0xC3 }
),
new HexPatch(
0x25972D,
new byte[] { 0x74, 0x21 },
new byte[] { 0x90, 0x90 }
),
new HexPatch(
0x259736,
new byte[] { 0x75, 0x18 },
new byte[] { 0x90, 0x90 }
),
}),
new PatchableBinary(
// WARNING: This binary can only be applied using the "Patch File..." option
// Filename: FlashPlayer.exe
Expand Down
2 changes: 1 addition & 1 deletion FlashPatch/UpdateChecker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public string GetUrl() {
}

public class UpdateChecker {
private static readonly string VERSION = "v1.22";
private static readonly string VERSION = "v1.23";
private static readonly string AUTHOR = "darktohka";
private static readonly string REPO = "FlashPatch";
private static readonly string USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36";
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ It bypasses the January 12th, 2021 killswitch that prevents you from playing any

| Browser | Plugin API | Version | Windows | Linux | Mac | 64-bit | 32-bit |
| ----------------- | ---------------- | ---------- | ------------------------ | ------------------------ | ------------------------ | ------------------ | ------------------------ |
| Google Chrome | PPAPI (Pepper) | 34.0.0.295 | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| Mozilla Firefox | NPAPI (Netscape) | 34.0.0.295 | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| Google Chrome | PPAPI (Pepper) | 34.0.0.301 | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| Mozilla Firefox | NPAPI (Netscape) | 34.0.0.301 | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| Safari | NPAPI (Netscape) | 34.0.0.295 | :heavy_multiplication_x: | :heavy_multiplication_x: | :heavy_check_mark: | :heavy_check_mark: | :heavy_multiplication_x: |
| Internet Explorer | ActiveX (OCX) | 34.0.0.295 | :heavy_check_mark: | :heavy_multiplication_x: | :heavy_multiplication_x: | :heavy_check_mark: | :heavy_check_mark: |
| Internet Explorer | ActiveX (OCX) | 34.0.0.301 | :heavy_check_mark: | :heavy_multiplication_x: | :heavy_multiplication_x: | :heavy_check_mark: | :heavy_check_mark: |

Old Chinese Flash versions supported:

Expand All @@ -64,7 +64,7 @@ While Adobe has completely stopped updating the global version of Adobe Flash Pl

This version of Flash normally only works within Mainland China. Furthermore, in order to let business users to purchase a China-specific enterprise edition of Adobe Flash, if it detects an enterprise environment (an Active Directory environment) it refuses to start. It also contains a dormant killswitch.

FlashPatch fully supports the latest version of the Chinese Flash Player browser plugin: 34.0.0.295.
FlashPatch fully supports the latest version of the Chinese Flash Player browser plugin: 34.0.0.301.

FlashPatch provides the following patches for this version:

Expand All @@ -74,9 +74,9 @@ FlashPatch provides the following patches for this version:
- Patch Chinese Enterprise phone-home service
- Patch activation check

Download clean builds of Flash 34.0.0.295:
Download clean builds of Flash 34.0.0.301:

- [For Windows - Chrome/Firefox/IE](https://github.com/darktohka/clean-flash-builds/releases/tag/v1.36)
- [For Windows - Chrome/Firefox/IE](https://github.com/darktohka/clean-flash-builds/releases/tag/v1.37)
- [For Linux - Chrome/Firefox](https://github.com/darktohka/clean-flash-builds/releases/tag/v1.7)
- [For Mac - Chrome/Firefox](https://github.com/darktohka/clean-flash-builds/releases/tag/v1.35)

Expand Down

0 comments on commit 2771b94

Please sign in to comment.