• Welcome to Valhalla Legends Archive.
 

Create Account (vb6)

Started by CrAz3D, June 13, 2003, 05:28 PM

Previous topic - Next topic

Camel

Quote from: St0rm.iD on June 20, 2003, 09:18 AM
Shut up, you stole it from the NBBot source and we all know it. Whether you translated it yourself or got it indirectly, from someone else, you still stole it. So don't go telling people to do it themselves, OK?

My proof: no one uses the name CalcHashBuf except Adron and stuff derived from his code.

i've never even seen the source for nbbot
i ported it from bnetauth source. i never took credit for doing it myself.

DarkMinion


void SendOLSPassword(char *szAccount, char *szPassword, unsigned long dwSessionKey)
{
   unsigned long dwPasswordHash[7];
   dwPasswordHash[0] = GetTickCount();
   dwPasswordHash[1] = dwSessionKey;
   calchashbuf(dwPasswordHash + 2, (char *)szPassword, strlen(szPassword));
   calchashbuf(dwPasswordHash + 2, dwPasswordHash, 7 * sizeof(unsigned long));
   dBuf.add(dwPasswordHash, 7 * sizeof(unsigned long));
   dBuf.add(szAccount);
   SendPacket(SID_OLS_PASSWORD);
}

SiMi

#17
    hashbuf(0) = &H67452301
   hashbuf(1) = &H98BADCFE
   hashbuf(2) = &HC3D2E1F0
   hashbuf(3) = &HEFCDAB89
   hashbuf(4) = &H10325476

I dont know C++ but im guessing those have something to do with:

   hashbuf[0] = 0x67452301
   hashbuf[1] = 0xEFCDAB89
   hashbuf[2] = 0x98BADCFE
   hashbuf[3] = 0x10325476
   hashbuf[4] = 0xC3D2E1F0

Maybe those are some of the strings you edited.

Adron

Quote from: St0rm.iD on June 20, 2003, 09:18 AM
My proof: no one uses the name CalcHashBuf except Adron and stuff derived from his code.

It's very interesting to see how I gave various functions working names while disassembling them, then was too lazy to change them when implementing them in C, and now those names appear in various other software. Maybe I should've spent some more time picking good names  :P

Arta

Quote from: Camel on June 19, 2003, 06:04 PM
what the hell? i didn't feel like giving away the entire answer. modifying small bits of code forces the consumer to read and understand it. imo, that's better than just giving the answer away.
* Camel refrains from using the 'give a man a fish' saying

Camel, I so rarely say this kind of thing, but in this situation... just shut the fuck up. I mean, honestly.

DarkMinion


CrAz3D

Well, I think I've gotten nowhere again.  Would anyone care to help me out a little?
rebundance - having or being in excess of sheer stupidity
(ré-bun-dance)
Quote from: Spht on June 22, 2004, 07:32 PMSlap.
Quote from: Adron on January 28, 2005, 09:17 AMIn a way, I believe that religion is inherently evil, which includes Christianity. I'd also say Christianity is eviller than Buddhism (has more potential for evil).
Quote from: iago on April 19, 2005, 01:06 PM
CrAz3D's ... is too big vertically, at least, too big with ... iago ...

iago

Quote from: Adron on June 21, 2003, 09:54 AM
Quote from: St0rm.iD on June 20, 2003, 09:18 AM
My proof: no one uses the name CalcHashBuf except Adron and stuff derived from his code.

It's very interesting to see how I gave various functions working names while disassembling them, then was too lazy to change them when implementing them in C, and now those names appear in various other software. Maybe I should've spent some more time picking good names  :P

I do the same thing, although I doubt that anybody ever will ever use my names again :-)
I called it "GetHash"

And if you want the real way to hash, look at the function located in battle.snp at 0x19012400.  I'll give you a hint:
void __fastcall GetHash(BYTE HashBuffer[5], BYTE *HashData, DWORD DataLength);

That should be more than enough to figure it out yourself.. I personally started with nothing :-P

Good luck!
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


CrAz3D

I've gotten it to create accounts in the Cesign mode so I compiled the EXE, now I'm told it doesn't make the accounts from the bot & it doesn't.

Any ideas on what may be the difference between the designmode & the actual EXE?....I use the exact smae bnetauth.dll for both.
rebundance - having or being in excess of sheer stupidity
(ré-bun-dance)
Quote from: Spht on June 22, 2004, 07:32 PMSlap.
Quote from: Adron on January 28, 2005, 09:17 AMIn a way, I believe that religion is inherently evil, which includes Christianity. I'd also say Christianity is eviller than Buddhism (has more potential for evil).
Quote from: iago on April 19, 2005, 01:06 PM
CrAz3D's ... is too big vertically, at least, too big with ... iago ...