RaiderZ Launcher v2 (checks ID/Pass)

Page 1 of 5 12345 LastLast
Results 1 to 15 of 75
  1. #1
    Account Upgraded | Title Enabled! Aznkidd235 is offline
    MemberRank
    Apr 2007 Join Date
    518Posts

    RaiderZ Launcher v6 (Checks ID/Pass) / PHP Register/ Auto-update/ MD5 Check/ Online

    Update 4: Player count added
    Launcher v6 has player count. it gets how many players are online. For the launcher to run error free you must edit all the .ini to its correct settings.

    Update 3: MD5 Check added
    i just realized that there was an error in v4 release so here is the fix, and a new addition to the program is MD5 check the launcher will now check the MD5 on the Raiderz.exe before running it. if MD5 is different the launcher will not launch the game.

    Update 2: Auto-update added
    Launcher v4 is now released whats new? auto-update function. the launcher will detect if a new update is out if there is then it will download it then unpack the update file into the client folder. if you do not update then the launcher will not allow you to play. Also edited the launcher's designs.



    How-to use Auto-Update:
    in launcher.ini edit where
    Patch = http://127.0.0.1/
    change it to where your patch files will be hosted example:
    Patch = http://192.168.1.2/patches/
    the launcher will grab the update1.rar from the patches folder.
    now edit where
    patchlink = http://127.0.0.1/ver.txt
    make a new ver.txt open it in notepad and put in number 1 this file will tell your launcher to update. now put a working link to your ver.txt
    patchlink = http://192.168.1.2/ver.txt
    this is how it works launcher runs download ver.txt from http://192.168.1.2/ver.txt then compare launcher version to ver.txt if ver.txt is higher then it will grab update1.rar
    if ver.txt has the number 3 in it and launcher version is 1 (cver.txt) then it will grab update1.rar, and update2.rar and then update cver.txt to 3 after downloading update1, update2.rar it will then extract and overwrite in client folder.
    The launcher will only grab the files update1.rar and up example you set ver.txt to 100 then it will grab update99.rar

    Making patch files:
    say you want to replace the Raiderz.exe in the client folder, and the Data folder inside the Raiderz folder then pack Raiderz.exe, and Data folder together in a .rar format you can pack it. pack the files like you would normally do, but do not set a password or the launcher will not be able to unpack it into the client folder. rename the .rar to Update1.rar set ver.txt to 2 if cver.txt is 1 then it will download and unpack into the client folder.

    How to set-up the launcher:
    First download TCPView this will be used to identify the ports that your MSSQL is using.
    TCPView for Windows

    Download, extract, run now search for the process sqlserver if it is not running then start > all programs > Microsoft SQL 2008 > Configuration Tools > SQL Server Configuration Manager and start it from there. once u find sqlserver look at its local port copy it down. now open sql.ini and replace SQLPort = 51844 replace it with yours.

    SQLHost = 192.168.1.2
    replace this with your WAN IP. What Is My IP Address - Shows Your IP Address

    Driver = SQL Server
    leave this alone unless you are using SQL Native client then change it to its exact name

    NetworkLib = DBMSSOCN
    leave this alone its for networking. connecting to your database.

    and the rest should be easy enough.



    The launcher is like any normal launcher. It checks news, register etc.
    when you click the start game button it will connect using ODBC to the host's MSSQL and check the table where USER_ID is and check if the password for that account matches if it does then it will run the game using kyhoh's method if not it will return the message box wrong id or pass and will not run the game. if there are any bugs/errors report it here. The download included the source so you can edit the launcher to how ever you like or even make it better.

    Instructions:
    1) Install the libraries first. if you don't you might get an error when trying to run it.
    2) Setup the .ini files (launcher.ini, sql.ini, sqlpath.ini)
    the sql.ini and sqlpath.ini is for those who don't have VB6 you can edit your launcher without the need of VB6, but it is unsafe since your SQLPass and etc will be viewable.

    For ppl who have VB6:
    Open up Project1.vbp double click form1 press CTRL + F search for "command1_click()" now look at the howto.jpg picture replace the highlighted text with your SQL settings and save, Make RaiderZLauncher.exe.
    now all your SQL settings are compiled into the new RaiderZLauncher.exe you will not be needing sql.ini you can delete it or if you get an error leave a blank sql.ini

    Features:
    - News
    - Register
    - Auto-update
    - Start Game (checks ID/Pass)
    - MD5 Check (Prevent switch of Raider.exe)
    - Players Online


    credits:

    kyhoh - for his bypass launcher. his method of launching the game was used in this

    RZLauncher v6: (Latest)
    Launcherv6.rar


    [SIZE="3"]Older Downloads:
    RZLauncher v5:
    Launcherv5.rar

    RZLauncher v4:

    Launcherv4.rar

    RZLauncher v3:
    Launcherv3.rar

    RZLauncher v2:
    RZLauncherv2.rar

    RZLauncher v1:
    MEGAUPLOAD - The leading online storage and file delivery service

    Other Downloads:
    Registration: (Credits to wesman2232 for the RegisterFix.sql)
    Register.rar

    Resource Hacker
    for those who wants to change the icon of the launcher, and don't have VB6 use ResHack. it allows you to open a .exe program and replace its icon with a different one.
    ResHack.zip
    Attached Thumbnails Attached Thumbnails howto.jpg  
    Last edited by Aznkidd235; 03-07-11 at 09:37 AM.


  2. #2
    Ancient One cmb is offline
    DeveloperRank
    Mar 2007 Join Date
    1,035Posts

    Re: RaiderZ Launcher (checks ID/Pass)

    cool, but this doesn't solve the problem that I can just somehow figure out your account name, load up RaiderZ.exe with it and now boom i have access to your account. There is 0(ZERO) security on these files, what Kyhoh failed to realize is the username given to RaiderZ.exe (in his case LOL) is what is sent to the login server, so I can't just give it fuck whatever, and expect things to work and be secure. You have taken a simple problem (no security) and complicated it (making this complicated launcher). Other than that, good work on it, im surprised you wrote it in VB6 and not something more modern (C#)

  3. #3
    Account Upgraded | Title Enabled! Aznkidd235 is offline
    MemberRank
    Apr 2007 Join Date
    518Posts

    Re: RaiderZ Launcher (checks ID/Pass)

    Quote Originally Posted by cmb View Post
    cool, but this doesn't solve the problem that I can just somehow figure out your account name, load up RaiderZ.exe with it and now boom i have access to your account. There is 0(ZERO) security on these files, what Kyhoh failed to realize is the username given to RaiderZ.exe (in his case LOL) is what is sent to the login server, so I can't just give it fuck whatever, and expect things to work and be secure. You have taken a simple problem (no security) and complicated it (making this complicated launcher). Other than that, good work on it, im surprised you wrote it in VB6 and not something more modern (C#)
    well it works if you have a noob who doesn't know how it works lol. but other than that your right someone can simply bypass this. i wrote it in VB6 because im more experience with it.
    Last edited by Aznkidd235; 22-06-11 at 02:52 AM.

  4. #4
    Ancient One cmb is offline
    DeveloperRank
    Mar 2007 Join Date
    1,035Posts

    Re: RaiderZ Launcher (checks ID/Pass)

    Quote Originally Posted by Aznkidd235 View Post
    well it works if you have a noob who doesn't know how it works lol. but other than that your right someone can simply bypass this. i wrote it in VB6 because im more experience with it.
    yes, but noobs won't be trying to gain access to accounts. The people with the needed knowledge will be doing so. It is not noobs who you should be afraid of, it is people like me, who are beginning to know RaiderZ's internals rather well. I must say though, im in no way shape or form interested in taking someone's gm account and causing ruckus. Nothing wrong with VB6 i was just slightly surprised to still see it alive and kicking lol, but i guess VB6 will never die ;)

  5. #5
    Account Upgraded | Title Enabled! Aznkidd235 is offline
    MemberRank
    Apr 2007 Join Date
    518Posts

    Re: RaiderZ Launcher (checks ID/Pass)

    Quote Originally Posted by cmb View Post
    yes, but noobs won't be trying to gain access to accounts. The people with the needed knowledge will be doing so. It is not noobs who you should be afraid of, it is people like me, who are beginning to know RaiderZ's internals rather well. I must say though, im in no way shape or form interested in taking someone's gm account and causing ruckus.
    LOL yea, but anyways the only way that i could think of at the time to secure the login issue is have the RaiderZ.exe run only by using the launcher to launch it, but thats a different subject since i don't know how to or even if its possible.
    Last edited by Aznkidd235; 22-06-11 at 02:58 AM.

  6. #6
    gooby pls Phant0m is offline
    MemberRank
    Mar 2008 Join Date
    ArgentinaLocation
    1,498Posts

    Re: RaiderZ Launcher (checks ID/Pass)

    You can write a simple DLL and hook it to allow access to raiderz.exe only if it's executed by Launcher.exe and have a checksum or something on the DLL aswell.
    After hooking, maybe you can pack the dll and exe together to prevent newbs from messing around with it.

  7. #7
    Ancient One cmb is offline
    DeveloperRank
    Mar 2007 Join Date
    1,035Posts

    Re: RaiderZ Launcher (checks ID/Pass)

    Quote Originally Posted by Phant0m View Post
    You can write a simple DLL and hook it to allow access to raiderz.exe only if it's executed by Launcher.exe and have a checksum or something on the DLL aswell.
    After hooking, maybe you can pack the dll and exe together to prevent newbs from messing around with it.
    then I could just write a bologna Launcher.exe pad it until the needed checksum is equal, and go from there, i wouldn't even need to unpack the stuff

  8. #8
    Account Upgraded | Title Enabled! MarcoTozzi is offline
    MemberRank
    Nov 2009 Join Date
    276Posts

    Re: RaiderZ Launcher (checks ID/Pass)

    But anw this will not help if you don't have a server side check, maybe a re-director on server that will check db and if success will re-direct to server port etc.

  9. #9
    We are Maverick! Dell Honne is offline
    MemberRank
    Feb 2009 Join Date
    ON, CanadaLocation
    3,271Posts

    Re: RaiderZ Launcher (checks ID/Pass)

    It's a good start.

    He's given you guys a stepping stone, maybe you should take it and continue?

  10. #10
    gooby pls Phant0m is offline
    MemberRank
    Mar 2008 Join Date
    ArgentinaLocation
    1,498Posts

    Re: RaiderZ Launcher (checks ID/Pass)

    Quote Originally Posted by cmb View Post
    then I could just write a bologna Launcher.exe pad it until the needed checksum is equal, and go from there, i wouldn't even need to unpack the stuff
    Yes, like I said, to prevent newbs from messing around with it.. ;)

    Edit: Check this post, maybe, if Aznkidd235 or someone else wants to edit the launcher, this might be one of the most secure ways of loging-in so far.
    http://forum.ragezone.com/f696/help-...ml#post6385112
    Last edited by Phant0m; 22-06-11 at 07:29 PM.

  11. #11
    Account Upgraded | Title Enabled! Aznkidd235 is offline
    MemberRank
    Apr 2007 Join Date
    518Posts

    Re: RaiderZ Launcher (checks ID/Pass)

    Updated the launcher fixed a mssql connection bug.

    Quote Originally Posted by Phant0m View Post
    Yes, like I said, to prevent newbs from messing around with it.. ;)

    Edit: Check this post, maybe, if Aznkidd235 or someone else wants to edit the launcher, this might be one of the most secure ways of loging-in so far.
    http://forum.ragezone.com/f696/help-...ml#post6385112
    I took a look at the link, and it sounds interesting. later on today i will see if i have the time then i'll get to work on it.

  12. #12
    Enthusiast esteniomaldade is offline
    MemberRank
    Sep 2010 Join Date
    37Posts

    Re: RaiderZ Launcher v2 (checks ID/Pass)

    good thanks!!

  13. #13
    gooby pls Phant0m is offline
    MemberRank
    Mar 2008 Join Date
    ArgentinaLocation
    1,498Posts

    Re: RaiderZ Launcher v2 (checks ID/Pass)

    Here is a slight change to the code.
    This is still vulnerable to SQL Injection, so you must disallow the use of any characters that are not alphanumerical in the text boxes.
    Also packing the launcher should help keep some people away from messing with it.

    Old VB6 Code:
    Code:
    Private Sub Command1_Click()
    
           Dim MyConnObj As New ADODB.Connection 'ADODB Connection Object
           Dim myRecSet As New ADODB.Recordset 'Recordset Object
           Dim sqlStr As String ' String variable to store sql command
    
          MyConnObj.Open "DRIVER={" & Options.Driver & "};Server=" & Options.SQLHost & "," & Options.SQLPort & ";Network Library=" & Options.NetworkLib & ";Initial Catalog=" & Options.SQLDB & ";User ID=" & Options.SQLUserID & ";Password=" & Options.SQLPass & ";"
    
           sqlStr = "select * from RZ_ACCOUNT where (USER_ID = '" & Text1.Text & "') and (PWD = '" & Text2.Text & "')"
         
          myRecSet.Open sqlStr, MyConnObj, adOpenKeyset
    
          Dim i As Integer 'variable to keep count
          i = 1
    
        
          If myRecSet.RecordCount = 1 Then
          Shell "cmd.exe /c Raiderz.exe login " & Text1.Text, vbHide
          Form1.WindowState = 1
          ElseIf myRecSet.RecordCount = 0 Then
          MsgBox "Incorrect User ID or Pass"
          End If
          MyConnObj.Close
    
      End Sub

    New VB6 Code:
    Code:
    Private Sub Command1_Click()
    
           Dim MyConnObj As New ADODB.Connection 'ADODB Connection Object
           Dim myRecSet As New ADODB.Recordset 'Recordset Object
           Dim sqlStr As String ' String variable to store sql command
    
          MyConnObj.Open "DRIVER={" & Options.Driver & "};Server=" & Options.SQLHost & "," & Options.SQLPort & ";Network Library=" & Options.NetworkLib & ";Initial Catalog=" & Options.SQLDB & ";User ID=" & Options.SQLUserID & ";Password=" & Options.SQLPass & ";"
    
           sqlStr = "select USER_ID from RZ_ACCOUNT where (ACCOUNT_ID = '" & Text1.Text & "') and (PWD = '" & Text2.Text & "')"
         
          myRecSet.Open sqlStr, MyConnObj, adOpenKeyset
    
          Dim i As Integer 'variable to keep count
          i = 1
    
        
          If myRecSet.RecordCount = 1 Then
          Shell "cmd.exe /c Raiderz.exe login " & sqlStr, vbHide
          Form1.WindowState = 1
          ElseIf myRecSet.RecordCount = 0 Then
          MsgBox "Incorrect User ID or Pass"
          End If
          MyConnObj.Close
    
      End Sub

    PHP Register Code:
    MD5 Phant0m Register.rar

  14. #14
    Proficient Member Cain142 is offline
    MemberRank
    Feb 2011 Join Date
    EarthLocation
    190Posts

    Re: RaiderZ Launcher v2 (checks ID/Pass)

    well i know next launcher is going to be better.

  15. #15
    Cypher WireShark is offline
    MemberRank
    Jun 2009 Join Date
    Planet Earth xDLocation
    950Posts

    ! Re: RaiderZ Launcher v2 (checks ID/Pass)

    Quote Originally Posted by Phant0m View Post
    PHP Register Code:
    MD5 Phant0m Register.rar

    Phantom Registration Script was not working... it has a error at line 11

    I Config & restart Apache after i modified the Php.ini

    Dbhost:localhost or 127.0.0.1
    Dbuser:sa
    Dbpass:mypass
    Attached Thumbnails Attached Thumbnails untitled.jpg  
    Last edited by WireShark; 28-06-11 at 08:22 AM.



Page 1 of 5 12345 LastLast

Advertisement