Skip to content

Commit

Permalink
Improved pattern for cronet (x64)
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian-Lengersdorff committed Feb 3, 2025
1 parent 56e86c0 commit e7ad64a
Show file tree
Hide file tree
Showing 3 changed files with 129 additions and 133 deletions.
4 changes: 2 additions & 2 deletions agent/android/cronet_android.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ export class Cronet_Android extends Cronet {

this.default_pattern = {
"x64": {
primary: "55 41 57 41 56 41 55 41 54 53 48 83 EC 48 48 8B 47 68 48 83 B8 20 02 00 00 00 0F 84 FE 00 00 00", // Primary pattern
fallback: "55 41 57 41 56 41 55 41 54 53 48 83 EC 48 48 8B 47 68 48 83 B8 20 02 00 00 00" // Fallback pattern
primary: "41 57 41 56 41 55 41 54 53 48 83 EC ?? 48 8B 47 68 48 83 B8 20 02 00 00 00 0F 84", // Primary pattern
fallback: "55 41 57 41 56 41 54 53 48 83 EC 30 48 8B 47 68 48 83 B8 20 02 00 00 00 0F 84" // Fallback pattern
},
"x86": {
primary: "55 53 57 56 83 EC 4C E8 00 00 00 00 5B 81 C3 A9 CB 13 00 8B 44 24 60 8B 40 34", // Primary pattern
Expand Down
Loading

0 comments on commit e7ad64a

Please sign in to comment.