diff --git a/.gitignore b/.gitignore index 8cc9b6d..3b2deab 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -ceserver \ No newline at end of file +ceserver +.DS_Store diff --git a/README.md b/README.md index 3274a62..a77d6e4 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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 @@ -43,7 +43,9 @@ sudo ./ceserver # Build ## iOS + `./build.sh` ## Mac + `make` diff --git a/ceserver.h b/ceserver.h index d63e5c4..692ee5e 100644 --- a/ceserver.h +++ b/ceserver.h @@ -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; diff --git a/ceserver.mm b/ceserver.mm index c7375f3..461de55 100644 --- a/ceserver.mm +++ b/ceserver.mm @@ -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 @@ -882,6 +882,9 @@ int DispatchCommand(int currentsocket, unsigned char command) { writer->Write(1); break; } + case CMD_ISANDROID: { + writer->Write(1); + } } return 1; }