Skip to content

Commit

Permalink
adjust CE7.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
DoranekoSystems committed Jan 14, 2024
1 parent efa9a02 commit 2d3bb6f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
ceserver
ceserver
.DS_Store
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# ceserver-ios

Porting ceserver to iOS.Dynamic analysis is possible with Cheat Engine.
It also works on macOS.
It also works on macOS.

# Usage

## iOS

Jailbreaking of iphone is required.
Place your PC and iphone in the same network.
Place ceserver and Entitlements.plist in /usr/bin.
Expand All @@ -27,9 +28,8 @@ sudo ./ceserver

# Tested

- Windows:CE 7.5(patreon)
=> Note:The module size is inaccurate, whether due to CE or not.
- Mac:CE 7.4.3(patreon)
- Windows:CE 7.5.2(patreon)
- Mac:CE 7.5.2(patreon)

# Project Status

Expand All @@ -43,7 +43,9 @@ sudo ./ceserver
# Build

## iOS

`./build.sh`

## Mac

`make`
2 changes: 1 addition & 1 deletion ceserver.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ typedef struct {
int64_t modulebase;
int32_t modulepart;
int32_t modulesize;
// uint32_t modulefileoffset;
uint32_t modulefileoffset;
int32_t modulenamesize;
} CeModuleEntry, *PCeModuleEntry;

Expand Down
5 changes: 4 additions & 1 deletion ceserver.mm
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ int DispatchCommand(int currentsocket, unsigned char command) {
r->modulebase = me.baseAddress;
r->modulesize = me.moduleSize;
r->modulenamesize = strlen(me.moduleName);
// r->modulefileoffset = me.fileOffset;
r->modulefileoffset = me.fileOffset;
r->modulepart = me.part;

// Sending %s size %x\n, me.moduleName, r->modulesize
Expand Down Expand Up @@ -882,6 +882,9 @@ int DispatchCommand(int currentsocket, unsigned char command) {
writer->Write<int32_t>(1);
break;
}
case CMD_ISANDROID: {
writer->Write<int8_t>(1);
}
}
return 1;
}
Expand Down

0 comments on commit 2d3bb6f

Please sign in to comment.