Help with coding/hex editing - Printable Version
-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Skype & Live Messenger (/forumdisplay.php?fid=10)
+----- Thread: Help with coding/hex editing (/showthread.php?tid=32714)
Help with coding/hex editing by Frosty on 10-09-2004 at 11:36 AM
ok. So i managed to scrounge this code from like one of my best friends.
Private Sub Command1_Click()
On Error GoTo error:
Open "C:\Program Files\Messenger\msmsgs.exe" For Binary As #1
Put #1, &H16EC1, "4542"
Close #1
MsgBox "Banner has been sucessfully removed"
error:
MsgBox "Please close messenger!"
End Sub
He told me he used it for messenger 4 or MSN 4 i can't remember which. But he wont explain it to me. He tells me i gotta work it out myself. But i have spent a while trying to understand it. I undersstand that "4542" is a variable of some sort but the "&H16EC1" part i dont. I hex edit and find nothing of the sort. Plus in the code it shows no sign of changing variables at all. So i'm really stuck on this. So if anyone could help me that would be great
RE: Help with coding/hex editing by Choli on 10-09-2004 at 01:43 PM
&H16EC1 is an hexadecimal number. It's decimal value is
((((((1 * 16) + 6) * 16) + 14) *16) + 12) * 16 +1
which is the same as
1*16^4 + 6*16^3 + 14*16^2 + 12*16 + 1
It's just another way to represent numbers.
The code, opens the exe of messenger and modifies it. It writes the string "4542" at the offset 0x16EC1 from the begining. Doing that is illegal, so I won't explain anything more.
RE: Help with coding/hex editing by Frosty on 10-09-2004 at 05:15 PM
Thank you soooooo much!!! *understands*
|