SilkroadPatchUtilites - DownloadServer Tools

07/12/2010 17:15 _Jefrey_#16
Quote:
Originally Posted by HeavyLegend View Post
Nope its only the protocol of the smc, and my client working :) but doesnt show the start.

[Only registered and activated users can see links. Click Here To Register...]
Put Divisioninfo.txt and SV.T of swsro into your pk2 then click start.
:bandit:


Btw, could you give me download link of that japanese client?
thx.
07/12/2010 17:18 CraYu#17
The DIVISIONINFO.txt is set to "127.0.0.1", GATEPORT.txt to "30008" and the SV.T is the version number.
07/12/2010 17:22 _Jefrey_#18
Yeah could, ya give me link of your client?

Btw,is my config correct of SMC_Updater.cfg?
Quote:
//================================================== ================================================== ============
SMC_Updater {
Certification "127.0.0.1", 30001
Certification_IP_Bind "127.0.0.1"
AccountDBConfig "DRIVER={SQL Server};SERVER=127.0.0.1;DSN=Silkroad;UID=sa;PWD=1 234;DATABASE=Silkroad"
LastFullVersion_SR_Client 91
}



//================================================== ================================================== ============
GatewayServer {
Certification "127.0.0.1", 30001
Certification_IP_Bind "127.0.0.1"
}
07/12/2010 17:32 CraYu#19
Edit: Jsro Client [Only registered and activated users can see links. Click Here To Register...]
07/12/2010 19:32 _Jefrey_#20
[Only registered and activated users can see links. Click Here To Register...]


Mhm, which Account I need to enter there?
07/12/2010 19:56 vorosmihaly#21
uhm I get this error when I try to build the DownloadServerDemo:
LINK : fatal error LNK1104: cannot open file 'libboost_system-vc90-mt-gd-1_42.lib'

could anybody help me?>.<
I installed boost and everything is fine just this error..xD

edit: solved
07/24/2010 12:18 chea77er#22
nice i love your work :)

EDIT:
So Im not the best Reverser, but i tried to reverse the SV.T building
So the beginning is very simple, lets start with a WORD its the length of a following string.
Im not sure if the length is a WORD or DWORD because there are 2 00 00 bytes after the first 2bytes.
I Know that Joymax only uses WORD for Length, so lets ignore the Byte No 3 and 4.

The current isro version got an 8byte string. So but how to decrypt them? On reversing i didnt found Blowfish things. I found an Call, but the Call "calls" an Delegate or something, dunno how to get the address of it. After the string the SV.T File is filled with some 00 bytes, to get the exact size of 1024.
07/26/2010 01:25 xclusive™#23
great work pushedx
07/31/2010 01:15 backo#24
look the phaggot is using boost
08/05/2010 18:49 pushedx#25
Quote:
Originally Posted by chea77er View Post
nice i love your work :)

EDIT:
So Im not the best Reverser, but i tried to reverse the SV.T building
So the beginning is very simple, lets start with a WORD its the length of a following string.
Im not sure if the length is a WORD or DWORD because there are 2 00 00 bytes after the first 2bytes.
I Know that Joymax only uses WORD for Length, so lets ignore the Byte No 3 and 4.

The current isro version got an 8byte string. So but how to decrypt them? On reversing i didnt found Blowfish things. I found an Call, but the Call "calls" an Delegate or something, dunno how to get the address of it. After the string the SV.T File is filled with some 00 bytes, to get the exact size of 1024.
SV.T is pretty simple:

[xx xx xx xx] - size of input data
[xx .. xx] - input data

The rest of the data is just padding.

You use the blowfish string "SILKROADVERSION", but only use 8 bytes as the size for the key. Then you can easily decrypt it and then reencrypt a new version. Writing a simple tool to do it is pretty easy, a few people have already done this work in the past.

You can look at Silkroad.exe to see this logic the easiest. To do this:
- Find where "SV.T" is loaded (search for name)
- Trace down a bit until you see a call like this (sets up blowfish):
Code:
0043780B  |.  6A 08         PUSH 8                                   ; /Arg2 = 00000008
0043780D  |.  8D5424 60     LEA EDX,DWORD PTR SS:[ESP+60]            ; |
00437811  |.  52            PUSH EDX                                 ; |Arg1
00437812  |.  8D4C24 18     LEA ECX,DWORD PTR SS:[ESP+18]            ; |
00437816  |.  C78424 800800>MOV DWORD PTR SS:[ESP+880],0             ; |
00437821  |.  E8 1AD80000   CALL silkroad.00445040                   ; \silkroad.00445040
- The next call decrypts the buffer and then the next call is like atoi (string to int)
- Finally, the version is stored into a variable for later use (EAX has it)

That's all there is to it!
08/16/2010 14:10 SyNChR0#26
awesome o_O thx for this ^_^
08/16/2010 17:34 Catlak_Patlak_Yasli_Bunak#27
input file :S
08/16/2010 20:30 marius1000#28
idk if anyone tried to compile the projects or the downloadserverdemo but i have a problem with some file missing:)
\\src\downloadserverdemo\downloadserverdemo.cpp(13 ) : fatal error C1083: Cannot open include file: 'boost/filesystem.hpp': No such file or directory
\\src\common\network.cpp(4) : fatal error C1083: Cannot open include file: 'boost/asio.hpp': No such file or directory
tell me what i did wrong...cuz i just downloaded the files from the thread and changed the version only:)!!thanks i wait for your answer
08/16/2010 21:50 Shadowz75#29
Quote:
Originally Posted by marius1000 View Post
idk if anyone tried to compile the projects or the downloadserverdemo but i have a problem with some file missing:)
\\src\downloadserverdemo\downloadserverdemo.cpp(13 ) : fatal error C1083: Cannot open include file: 'boost/filesystem.hpp': No such file or directory
\\src\common\network.cpp(4) : fatal error C1083: Cannot open include file: 'boost/asio.hpp': No such file or directory
tell me what i did wrong...cuz i just downloaded the files from the thread and changed the version only:)!!thanks i wait for your answer
download the boost library
08/17/2010 18:32 marius1000#30
ah k thx:)