• Welcome to Valhalla Legends Archive.
 

hmm

Started by Rob, May 13, 2007, 12:18 PM

Previous topic - Next topic
|

Barabajagal

For 17, I'm sure. Go look at my Database. You'll find 17 character values.

Chriso

#76
I just tried implementing Rob's dll into a bot and it returned completely different values than BNLS (www.valhallalegends.com as BNLS server).

Heres my output:
Quote
[19:58:32] Connecting to BNLS...
[19:58:32] Connected to BNLS! - (Server: 64.183.189.104)
[19:58:33] Connected to Battle.net! - (Server: 211.233.0.49)
[19:58:33] Version byte: D1
[19:58:33] Product ID: STAR
[19:58:38] Using Old Login Style...
[19:58:38] MPQ Archive: lockdown-IX86-06.mpq
[19:58:38] ValueString: 867F36E75BD2197350144A21C98415D
[19:58:38] CheckRevision result: 1
[19:58:38] - Version: 10F0001
[19:58:38] - Checksum: 6E281B1B
[19:58:38] - Digest: E9780D5B8D1F46F4D40276A208AA22A
[19:58:39] BNLS Result: 1
[19:58:39] - Version: 10F0001
[19:58:39] - Checksum: C9121135
[19:58:39] - Digest: E2169F90FD5EEC4C0831182E0244D8F

And heres my code * if you don't like VB6 code look away now *

''Grab packet data ...
.LogonType = r.ReadDWORD()
.ServerToken = r.ReadDWORD()
.UDPValue = r.ReadDWORD()
.MPQfiletime = r.ReadVOID(8)
.MPQfilename = r.ReadSTRING()
.ValueString = r.ReadSTRING()
.ClientToken = GetTickCount()

''Lockdown vars ...
dll = App.Path & "\" & Replace$(.MPQfilename, ".mpq", ".dll")
bin = App.Path & "\STAR.bin"
dll01 = App.Path & "\lockdown-IX86-01.dll"
.Digest = String$(17, vbNullChar)

''Checkrevision call ...
AddChat Profile, vbGreen, "CheckRevision result: " & _
            CheckRevisionLD(.Hashpath & .Hashes(0), .Hashpath & .Hashes(1), .Hashpath & .Hashes(2), .ValueString, _
            .Version, .Checksum, .Digest, dll, dll01, bin)

.Digest = Split(.Digest, vbNullChar)(0)


I can't seem to figure out why the values are different from BNLS compared to the CheckRevision.dll, BNLS values allow me to login, whereas the CheckRevision ones return 0x101 (Invalid Version)...

Thanks for any help you can give.

Rob

I am unable to replicate your return values.

[ 6:51:08 AM ] [BNET] MPQName: lockdown-IX86-06.mpq
[ 6:51:08 AM ] [BNET] ValueString:  86 7F 36 E7 5B D2 19 73 50 14 4A 21 C9 84 15 0D

[ 6:50:45 AM ] [BNLS] Version: 10F0001
[ 6:50:45 AM ] [BNLS] Checksum: 3CF76238
[ 6:50:45 AM ] [BNLS] Digest:  57 A7 15 A6 71 8C 64 FD 1C 2B DA 35 6B 4B F6 78

[ 6:51:08 AM ] [LOCKDOWN] Version: 10F0001
[ 6:51:08 AM ] [LOCKDOWN] Checksum: 3CF76238
[ 6:51:08 AM ] [LOCKDOWN] Digest:  57 A7 15 A6 71 8C 64 FD 1C 2B DA 35 6B 4B F6 78
Rob@USEast

iago

Quote from: Rob on June 11, 2007, 05:52 AM
I am unable to replicate your return values.

[ 6:51:08 AM ] [BNET] MPQName: lockdown-IX86-06.mpq
[ 6:51:08 AM ] [BNET] ValueString:  86 7F 36 E7 5B D2 19 73 50 14 4A 21 C9 84 15 0D

[ 6:50:45 AM ] [BNLS] Version: 10F0001
[ 6:50:45 AM ] [BNLS] Checksum: 3CF76238
[ 6:50:45 AM ] [BNLS] Digest:  57 A7 15 A6 71 8C 64 FD 1C 2B DA 35 6B 4B F6 78

[ 6:51:08 AM ] [LOCKDOWN] Version: 10F0001
[ 6:51:08 AM ] [LOCKDOWN] Checksum: 3CF76238
[ 6:51:08 AM ] [LOCKDOWN] Digest:  57 A7 15 A6 71 8C 64 FD 1C 2B DA 35 6B 4B F6 78
Maybe post checksums of your data files (the image dump and all the rest) to ensure that he has them right. Those could be useful in general. I would do it, but I'm already late for work.
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


raylu

You don't need App.Path & "\".
CheckRevisionLD won't return the null terminator.
Pie?

l2k-Shadow

Use this file for your image dump.
Quote from: replaced on November 04, 2006, 11:54 AM
I dunno wat it means, someone tell me whats ix86 and pmac?
Can someone send me a working bot source (with bnls support) to my email?  Then help me copy and paste it to my bot? ;D
Já jsem byl určenej abych tady žil,
Dával si ovar, křen a k tomu pivo pil.
Tam by ses povídaj jak prase v žitě měl,
Já nechci před nikym sednout si na prdel.

Já nejsem z USA, já nejsem z USA, já vážně nejsem z USA... a snad se proto na mě nezloběj.

Joe[x86]

Quote from: iago on June 11, 2007, 08:01 AM
Quote from: Rob on June 11, 2007, 05:52 AM
I am unable to replicate your return values.

[ 6:51:08 AM ] [BNET] MPQName: lockdown-IX86-06.mpq
[ 6:51:08 AM ] [BNET] ValueString:  86 7F 36 E7 5B D2 19 73 50 14 4A 21 C9 84 15 0D

[ 6:50:45 AM ] [BNLS] Version: 10F0001
[ 6:50:45 AM ] [BNLS] Checksum: 3CF76238
[ 6:50:45 AM ] [BNLS] Digest:  57 A7 15 A6 71 8C 64 FD 1C 2B DA 35 6B 4B F6 78

[ 6:51:08 AM ] [LOCKDOWN] Version: 10F0001
[ 6:51:08 AM ] [LOCKDOWN] Checksum: 3CF76238
[ 6:51:08 AM ] [LOCKDOWN] Digest:  57 A7 15 A6 71 8C 64 FD 1C 2B DA 35 6B 4B F6 78
Maybe post checksums of your data files (the image dump and all the rest) to ensure that he has them right. Those could be useful in general. I would do it, but I'm already late for work.

---------------------------------
-----Lockdown DLL Checksums------
---------------------------------
9f37a118e4f35bf21903bcc6cd0e77e2 *lockdown-IX86-00.dll
70fbe2d67aef70920d0ba554a905263b *lockdown-IX86-01.dll
df419a1724264cac53487f7b97a929be *lockdown-IX86-02.dll
9c12b0da5d87b8919fcc870674afdf6c *lockdown-IX86-03.dll
d19e5466e4a1c8d2c22de74c23121ac5 *lockdown-IX86-04.dll
53b9d66f18e3403465211f420aafec96 *lockdown-IX86-05.dll
e009429efb590e245a0f1ce67b54b496 *lockdown-IX86-06.dll
f5e1eb6acb9fada1774d8844faeb74a2 *lockdown-IX86-07.dll
f81ad78012b1db74ff9cc06f11c919ec *lockdown-IX86-08.dll
2da770d9c7b844601c9a57e8c95eb3db *lockdown-IX86-09.dll
d336ed1b8cac37e65ea395e7c09ce9b4 *lockdown-IX86-10.dll
043a92692707b8434a092744d1dceb9b *lockdown-IX86-11.dll
a025667e2cac83ac564ca1c2144361dc *lockdown-IX86-12.dll
5cab8102a6a63705277b3c1e36765060 *lockdown-IX86-13.dll
901c46becac2e88c2483b0d502b75606 *lockdown-IX86-14.dll
de491cc0d6052113883eb71dea616e9b *lockdown-IX86-15.dll
bfaa7cf32fa333ce741c529c6947deb7 *lockdown-IX86-16.dll
1170f7351b538e8be4ed98f40d0b9eb2 *lockdown-IX86-17.dll
07d2cf849901cfa5766434345a9d5530 *lockdown-IX86-18.dll
d3d05836287db33f4b0f1cf67b13e5d0 *lockdown-IX86-19.dll
---------------------------------
-----StarCraft File Checksums----
---------------------------------
567f76abce5606dfd6a2edaf7044e4e1 *StarCraft.exe
f4815c91277ca91b97b88b685e13fab0 *battle.snp
fb3e2313a413a5ea4b99499114cae963 *storm.dll
---------------------------------
-----WarCraft II File Checksums--
---------------------------------
61ce5f2dd824187d3e85504d77620daa *Warcraft II BNE.exe
600283858cc830a96c641f221fdbb7a9 *battle.snp
1d72a53cb25fc46cc13b338901cffa74 *storm.dll
---------------------------------
-----Other File Checksums--------
---------------------------------
eb574b236133e60c989c6f472f07827b *md5sum.exe
c786abc84da2eb82b1104afaf03e7a5a *W2BN.bin
10cff304fd1737c72cddc52855003946 *STAR.bin
---------------------------------
-----Lockdown Results------------
---------------------------------
Note: Either Starcraft OR Brood War will pass, not both.
Warcraft 2 passed 19/19 tests
Starcraft passed 0/11 tests
Brood War passed 10/10 tests
a76bd3ea
3e79e38c

a1720661207???9505df37f46f6212bd
78d9f3e6bc78d4b2a34999b990de6c0e

Press any key to continue . . .


Brood War is installed, obviously.
Quote from: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.

Chriso

Rob and I figured out the problem, I was using iago's screen dumps instead of his.

Heres the download to his screen dumps:
http://www.onlythechosen.com/w2bn.bin
http://www.onlythechosen.com/star.bin
http://www.onlythechosen.com/sexp.bin

Updated CheckRevision.dll:
http://www.onlythechosen.com/CheckRevision.dll

raylu

Quote from: Joex86] link=topic=16694.msg170000#msg170000 date=1181578409]---------------------------------
-----Other File Checksums--------
---------------------------------
eb574b236133e60c989c6f472f07827b *md5sum.exe
LOL?
Pie?

brew

Quote from: Joex86] link=topic=16694.msg170000#msg170000 date=1181578409]

eb574b236133e60c989c6f472f07827b *md5sum.exe

md5......? joe are you allright..?
<3 Zorm
Quote[01:08:05 AM] <@Zorm> haha, me get pussy? don't kid yourself quik
Scio te esse, sed quid sumne? :P

idiat

Quote from: Chriso on June 11, 2007, 07:58 PM
Rob and I figured out the problem, I was using iago's screen dumps instead of his.

Heres the download to his screen dumps:
http://www.onlythechosen.com/w2bn.bin
http://www.onlythechosen.com/star.bin
http://www.onlythechosen.com/sexp.bin

Updated CheckRevision.dll:
http://www.onlythechosen.com/CheckRevision.dll


What about DRTL?!?!?! If nobody has the game, I could get it myself if I knew how.
-idiat. Spell it right. No caps either.
-Mary Naivete, sound advice from a sound woman.

Barabajagal

Just find out what memory locations are read for those and read the same for d1? Although I think blake said the DLL doesn't work for d1.

iago

Quote from: brew on June 11, 2007, 10:06 PM
Quote from: Joex86] link=topic=16694.msg170000#msg170000 date=1181578409]

eb574b236133e60c989c6f472f07827b *md5sum.exe

md5......? joe are you allright..?
He's likely checksumming all files in the folder. Does it really need to be pointed out twice?

Quote from: ·RealityRipple· on June 11, 2007, 10:57 PM
Just find out what memory locations are read for those and read the same for d1? Although I think blake said the DLL doesn't work for d1.
It should work the same as D1, but the program I wrote doesn't seem to work. I haven't had a chance to look into why, mostly because not a whole lot of people play D1.
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


|