View previous topic :: View next topic |
Author |
Message |
beagle Cheater Reputation: 0
Joined: 27 Aug 2014 Posts: 36
|
Posted: Tue Sep 12, 2017 1:59 pm Post subject: Open File/OpenFileAsProcess: Byte Scanning Not Working (6.7) |
|
|
When i use 32Bit CE 6.7 to search an .exe (using open file, not open process) for any string of bytes, it wont find it. Then when i switch to 64bit CE, it will find the bytes, but only if i change the end range of the search from "7FFFFFFFFFFFFFFF" to "7FFFFFFF."
I noticed this when i was testing out Openfileasprocess, and my lua AOBscans werent finding anything. Even when using 32Bit CE, Openfileasprocess seems to treat the .exe as 64bit because the memory search end range changes from "7FFFFFFF" to "7FFFFFFFFFFFFFFF" after opefileasprocess opens the file.
Here is the lua code i am working with:
Code: |
function OpenFile()
dialog = createOpenDialog(self)
dialog.Title = "Select File"
dialog.InitalDir = os.getenv('%USERPROFILE%')
dialog.DefaultExt=".exe"
dialog.Options ='[ofEnableSizing]'
if dialog.execute() == false then return end
FileName= dialog.FileName
dialog.destroy()
openFileAsProcess(FileName,false)
print('test a')
version = AOBScan("00")
if (version ~= nil) then
print('test b ')
end
end
|
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25295 Location: The netherlands
|
Posted: Tue Sep 12, 2017 2:12 pm Post subject: |
|
|
it's a known issue and already fixed in the source
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
beagle Cheater Reputation: 0
Joined: 27 Aug 2014 Posts: 36
|
Posted: Tue Sep 12, 2017 2:18 pm Post subject: |
|
|
oh ok thanks
|
|
Back to top |
|
|
|