Bonzo
October 20th, 2004, 10:30
Hello all,
I'm adding some new features to cmdline plugin, but I've got a problem...
I added some commands, but one of them is not working on Xp and it's working fine on windows 2003. Command is "eip address", used to move eip.
Well if I do: "eip esp" or "eip address", on windows 2003 everything is ok, if I try the same on windows xp it's not working at all... Writememory command returns error (in windows xp, esp is not even translated to an address, in fact I get a parser error, on w2k3 I have no probz :/).
"eip" is implemented in this way:
1. read memory at current eip and store in a buffer
2. assemble a jmp to given address
3. step on this jump
4. restore memory at old location
Point 4. fails, but only on Xp... Can someone explain me why please? I can't find a logical reason and of coz it's not a memory protection problem, coz the same happens on short jumps (1 or 2 bytes ahead).
If you wish to download a pre-release version you can get it from http://quequero.org/store/various/qcmdline.zip
("http://quequero.org/store/various/qcmdline.zip
")
Of coz sources will be published soon (I have to add some other features). Thanx a lot!
I'm adding some new features to cmdline plugin, but I've got a problem...
I added some commands, but one of them is not working on Xp and it's working fine on windows 2003. Command is "eip address", used to move eip.
Well if I do: "eip esp" or "eip address", on windows 2003 everything is ok, if I try the same on windows xp it's not working at all... Writememory command returns error (in windows xp, esp is not even translated to an address, in fact I get a parser error, on w2k3 I have no probz :/).
"eip" is implemented in this way:
1. read memory at current eip and store in a buffer
2. assemble a jmp to given address
3. step on this jump
4. restore memory at old location
Point 4. fails, but only on Xp... Can someone explain me why please? I can't find a logical reason and of coz it's not a memory protection problem, coz the same happens on short jumps (1 or 2 bytes ahead).
If you wish to download a pre-release version you can get it from http://quequero.org/store/various/qcmdline.zip
("http://quequero.org/store/various/qcmdline.zip
")
Of coz sources will be published soon (I have to add some other features). Thanx a lot!