Problems Reading string from memory
See original GitHub issueHey there, I’m having some problem while trying to read a string from another program. Somehow my output is this:{‘name’: ‘Deezer.exe’, ‘pid’: 1100, ‘handle’: 456, ‘error_code’: None} {‘Titel’: ‘’}
This is my code
from ReadWriteMemory import ReadWriteMemory
rwm = ReadWriteMemory()
process = rwm.get_process_by_name("Deezer.exe")
print(process.__dict__)
process.open()
title_pointer = process.get_pointer(0x04D21E1C, offsets=[0x10C, 0x44, 0x4, 0x30, 0x0])
titel = process.readString(title_pointer, 20)
print({'Titel': titel})
process.close()
And this is what i got with CE
I hope someone can help me with this.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
[Solved] Memory Error while reading the string - CodeProject
If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are...
Read more >[Coding] Read string from memory - UnKnoWnCheaTs
Hey UC community, I am having some problems with my code. Code: char string_var = *(char*) ...
Read more >String memory issue - Programming Questions - Arduino Forum
My code picks up that something has been entered into the serial port, puts it into a String object then runs through a...
Read more >c++ - Memory and time issue when reading/writing from a file
Problem statement: Read a natural number N and a string from a file, and output in another file the same string N number...
Read more >Help reading string from memory process - CodeGuru Forums
But the issue with that is that you now have to manually manage the dynamic memory (somewhere, free() must be called to deallocate...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@HyronNotEZ @Klapity 1 year late but to anyone else having this problem, to find the base address you subtract the pointer base address with it’s address in memory.
explained in this video https://youtu.be/x4WE3mSJoRA?t=36
AttributeError: 'Process' object has no attribute 'get_modules'
🤔