Jump to content

Tool: Sader's File Verifier


sader1992

Recommended Posts


  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

Sader's File Verifier


Sader's Files Verifier

Version 2.0.2:

Adding get_information.php
with it you can generate the information.txt directly in your webhost
use it carefully
DO NOT ALLOW IT TO BE PUBLICLY ACCESSIBLE!!!!!!!!
you can change the file name or put a password, or create a cron job for it
change '$verify_dir' to the dir of your files.
change the '$informationfile' to the name of your information file.
the information file will be created in the same dir as the php file.


Version 2.0.1:

Adding Pre-Compiled Version so Visual Studio is not needed if you only want it to run without any customization .


Version 2.0:

Adding Design .

Adding support for Multiple folder layer .

544731525_Annotation2019-04-27170942.jpg.6bf63549fd6e4ae7afb9b040bdc75556.jpg

Adding Pre-Compiled Version

pre_compiled_generator.zip

no need for visual studio , you just need to fill out the information and generate the file >> it will build Sader Files Verifier.exe and get_information.exe in the directory you run the program from

this how it look

5875100_Annotation2019-04-28184748.thumb.jpg.43088149eebce1f5c5e5c2971cee6775.jpg

 

 

 

an application that check the files you want to check and download if they are missing or corrupt

this program in C# , Visual Studio 2019 , and need .Net 4.5 (you can lower the version if you put some work in to it)

 

https://github.com/sader1992/sader_files_verifier

Video on how to setup (slow it down if you can't follow my steps) [This video with the non design version 1.0 but it's the same thing]

 

this file made for Ragnarok private servers community

you should not add the data.grf and rdata.grf as files as the player better just re-download the full client again

do not add your custom.grf as you will edit it every update , unless you are planing to generate new information file every update

same thing for your .dat from Thor Patcher don't add it

if you have custom.grf that you will never change with the updates , you can add it i would recommend that

you better not add files that you update them a lot like iteminfo.lua , unless you are planning to update the information file and the files in the webhost every time you change it!

 

DO NOT ADD THE PROGRAM IT SELF TO THE information FILE!!!

this to do list i may or may not do it , however you are free to do it your self!

TODO:

Encrypt information.txt

Compress uploaded files and decompress after download


  • Submitter
  • Submitted
    02/23/2019
  • Category
  • Video
    https://youtu.be/-tL8g4JS6PU
  • Content Author
    sader1992

 

  • Upvote 2
  • Love 2
  • Like 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   14
  • Joined:  07/23/18
  • Last Seen:  

OMG that's just perfect for some people that miss with .DLL's and something like.

Keep going! ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  770
  • Reputation:   69
  • Joined:  02/10/12
  • Last Seen:  

whether this tool can prevent modification dll.?
it's more cool if you tool can compare with thor patcher ?

 

btw nice release 

Edited by melv0
Link to comment
Share on other sites


  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

it checks the files hash , so if there is an edited dll , it should delete it and re-download it again

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  770
  • Reputation:   69
  • Joined:  02/10/12
  • Last Seen:  

On 2/24/2019 at 6:06 AM, sader1992 said:

it checks the files hash , so if there is an edited dll , it should delete it and re-download it again

but if i don't run your aplication it will not checking edited dll right?
its really cool if you can combine with thor patcher
so when running the patcher, thor patcher will read frist to check the files hash, like thor patcher read hash for client.exe

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

well this template made to be only fix client files , my plan was also checking the grf files (but there is no time ans stamina xD)

but making a security program is not planed as i would suggest anyone who want to secure their server , just to use Gepard

as security should not be an open source or else it would be useless , at least this what i believe it's right

security programs should have connection to the server and it need it's own time as security programs without updates will be also useless

also who build the program should secure it too and that's is the hardest and no one would do it , and if there is open source  ways to do it , it would be pretty easy to reverse engineer it and it would be useless

 

i wouldn't just enter this loophole as no one would know how to use it properly else than those who already can do this kind of project them self , and that would not serve the greater good of ragnarok community xD

 

my original plan was making an open source c# alternative to thor patcher that can be customized as the owner wishes

ofc i am not the kind who complete things even if it's too close to perfection xD so i might or might not do it , for now i don't have time so i just released this template for who would want it

  • Love 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   3
  • Joined:  01/05/13
  • Last Seen:  

Thanks Sader

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   3
  • Joined:  01/05/13
  • Last Seen:  

@sader1992

How to make it check the files in the system folder?

I make new get_information

\exe.ico:jVB14/r+XTnX0XI3ipIXsBioxmTSMy520/B8FAzx+18=
\System\Iteminfo.lua:SCsOdZbc4oq1HDctZoEB53tGppMEQ+uAZ2B55c935Nc=
\System\Iteminfo.lub:jVB14/r+XTnX0XI3ipIXsBioxmTSMy520/B8FAzx+18=

However I am having difficulty verifying the files in the system folder

@edit

What do you think?

@sader1992

wWgQgh7.png

Next step I'll work on auto update ?

Edited by Elf0
  • Upvote 1
Link to comment
Share on other sites

  • 1 month later...

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

Version 2.0 Update

  • Adding Design
  • Adding support for Multiple folder layer
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

Version 2.0.1 Update

  • Adding Pre-Compiled Version so Visual Studio is not needed if you only want it to run without any customization .

pre_compiled_generator.zip

no need for visual studio , you just need to fill out the information and generate the file >> it will build Sader Files Verifier.exe and get_information.exe in the directory you run the program from

this how it look

299983725_Annotation2019-04-28184748.thumb.jpg.d234202a37899a8152f16edc478904db.jpg

Link to comment
Share on other sites

  • 1 year later...

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  92
  • Reputation:   4
  • Joined:  06/21/15
  • Last Seen:  

Hello . i did try this but when i delete some costumize DLL files. it still can login without checkings files. and then i try to use pre-compiled generator and i change the server name on the first letter it keeps letter R when i used to put is letter F 

Link to comment
Share on other sites

  • 2 years later...

  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  491
  • Reputation:   19
  • Joined:  11/19/11
  • Last Seen:  

how to solved my error sir,

im used pre_compiled_generator

after downlaod an fixed file

 

172c18f0678c5255e06027d932de62c4.png

Edited by Akbare
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...