Jump to content

4 posts in this topic

Recommended Posts

Posted (edited)

Guys, i am pretty new and trying to learn things around.

 

i am trying to hack game Guardian Hunter  which is a sub game.

 

I attach the pid and execute the watch command.

 

Even though the value of Hp changes the GDB still shows continuing

 

this is the log

(gdb) att 1112
Attaching to process 1112.
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
Reading symbols for shared libraries . done
bfd_mach_o_scan: unknown architecture 0x100000c/0x0


***WARNING***: Possible number of sections anti-debug trick detected at segment __DATA !
Number of sections reported from the header is 2, the real number should be 2


***WARNING***: Possible number of sections anti-debug trick detected at segment __DATA_CONST !
Number of sections reported from the header is 4, the real number should be 4

***WARNING***: Possible number of sections anti-debug trick detected at segment __DATA_DIRTY !
Number of sections reported from the header is 2, the real number should be 2

Reading symbols for shared libraries + done

0x360d5130 in mach_msg_trap ()
(gdb) watch -location *0x0fe0a040
Hardware watchpoint 1: *(int *) 266379328
(gdb) c
Continuing.
^Cwarning: Unrecognized osabi 0 in arm_set_osabi_from_host_info

Program received signal SIGINT, Interrupt.
0x360e90c4 in __semwait_signal ()
(gdb) watch -location *0x0fe0a040
Hardware watchpoint 2: *(int *) 266379328
(gdb) c
Continuing.
^Cwarning: Unrecognized osabi 0 in arm_set_osabi_from_host_info

Program received signal SIGINT, Interrupt.
0x360d5198 in semaphore_timedwait_trap ()
(gdb) c
Continuing.
quit
 
 

The thing is i dont get the real address, Although the adress given by igg changes with change in hp 

 

p.s. its after attaching pid

Updated by Amol
Posted

Bump Someone Help please..

this  warning comes everytime when i att pid and i cant get the new and old value probably coz of this.

 

though the app freezes while writing commands

Posted

Bump Someone Help please..

this  warning comes everytime when i att pid and i cant get the new and old value probably coz of this.

 

though the app freezes while writing commands

The app freezes haha, do you even know why are you typing "c"?

Posted

The app freezes haha, do you even know why are you typing "c"?

dude, instead of making fun answer why i am getting anti-debug trick

 

c-continue to unfreeze the app so that the change in the offset value can be detected.

 

If u cant help, dont poke in

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines