I'm playing with gdb and strange things are happening. I wanted to find some address in memory where string "/bin/sh" is located, and gdb says it found it. But when I examine the memory there, the string there is totally different.
Can you please help me to find out what this behaviour means, and how can I really find the adress of the string?
(gdb) find 0xb7ecffb0,+999999, "/bin/sh" 0xb7fba23f 1 pattern found. (gdb) x/s 0xb7fba23f 0xb7fba23f: "KIND in __gen_tempname\""