[Gambas-user] external function freezes

Demosthenes Koptsis demosthenesk at gmail.com
Fri Jun 8 23:50:33 CEST 2018


this pid is from gnome-calculator that i run it as test-target program.

i got this pid from ps command

if you try it yourself you must setup your pid and address from scanmem tool


On 06/09/2018 12:13 AM, Jussi Lahtinen wrote:
> I guess it is just waiting process with pid 8634... how do you ensure this
> pid of given to the process?
>
>
> Jussi
>
> On Fri, Jun 8, 2018 at 11:41 PM, Demosthenes Koptsis <demosthenesk at gmail.com
>> wrote:
>> Hello, i implemented a ptrace and waitpid external functions in order to
>> read/write a memory address of a process.
>>
>> i want to make a trainer for a game in gambas and i created a small
>> program that reads and writes to a memory process.
>>
>> The problem is that when i try to write to memory it freezes at waitpid
>> line.
>>
>> i attach the test program you have to 1) open it as root 2) run a process
>> you want to hack and get the pid 3) scan memory with scanmem and locate an
>> address you want to write. 4) run my test program and see it freezes.
>>
>> Any help?
>>
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user



More information about the User mailing list