Start runable c#!

Page 1 of 2 12 LastLast
Results 1 to 25 of 30
  1. #1
    Account Upgraded | Title Enabled! 00niels00 is offline
    MemberRank
    Sep 2008 Join Date
    The NetherlandsLocation
    1,041Posts

    Start runable c#!

    Hello, im creating my own launcher but i have 1 problem. If i do the normal way of starting a exe like this:

    Code:
                Process theduel = new Process();
    
                theduel.StartInfo.FileName   = "theduel.exe";
    
                theduel.Start();
    OR

    Code:
                System.Diagnostics.Process.Start("notepad");
    But it doesn't start when serialkey is enabled. I can make the serialkey disabled but thats not save becasue people can start without running launcher. Does some on have a way to start it when serialkey is enabled?


  2. #2
    Account Upgraded | Title Enabled! shortymant is offline
    MemberRank
    Nov 2008 Join Date
    606Posts

    Re: Start runable c#!

    Irony, I'm reading a tutorial on C# right now.
    You have the serial key code in your source?

  3. #3
    Account Upgraded | Title Enabled! 00niels00 is offline
    MemberRank
    Sep 2008 Join Date
    The NetherlandsLocation
    1,041Posts

    Re: Start runable c#!

    Whats the serialkey?
    and how to add.

  4. #4
    Sultan of Yolo Demantor is offline
    MemberRank
    May 2008 Join Date
    GermanyLocation
    1,266Posts

    Re: Start runable c#!

    Disable the launch serial key in runnable, its 1 address to change..

  5. #5
    Account Upgraded | Title Enabled! shortymant is offline
    MemberRank
    Nov 2008 Join Date
    606Posts

    Re: Start runable c#!

    there is no serial key in runnable.
    edit: i think im wrong there, if there is no serial key in the runnable, how would it know when the serial key's been changed?
    anyway, serial key is something like 25 chars, it tells it to open the runnable if those 25 chars are the same.

  6. #6
    Sultan of Yolo Demantor is offline
    MemberRank
    May 2008 Join Date
    GermanyLocation
    1,266Posts

    Re: Start runable c#!

    Hit control + G and write "004972A7" :

    You will see this:
    Code:
    004972A7  |.  3D FFFF0000   CMP EAX,0FFFF
    Change it by hitting space, it will assemble at 004972a7, then write the red marked "MOV EAX,0FFFF"
    Code:
    004972A7      B8 FFFF0000   MOV EAX,0FFFF
    Its also here on ragezone posted this edit..

  7. #7
    Account Upgraded | Title Enabled! 00niels00 is offline
    MemberRank
    Sep 2008 Join Date
    The NetherlandsLocation
    1,041Posts

    Re: Start runable c#!

    But i want that my launcher start without disabling serialkey. How to do that?

  8. #8
    Sultan of Yolo Demantor is offline
    MemberRank
    May 2008 Join Date
    GermanyLocation
    1,266Posts

    Re: Start runable c#!

    Quote Originally Posted by 00niels00 View Post
    But i want that my launcher start without disabling serialkey. How to do that?
    See how the Laucnher uses the serial key to open/Launch the runnable, i have no idea, sry :D

  9. #9
    much coder t0p lel Team Zebra is offline
    MemberRank
    Mar 2009 Join Date
    234Posts

    Re: Start runable c#!

    I believe the launcher checks for certain values in the clipboard at certain times. "I_love_maiet", "I_hate_hacker" are what they used to be. Most likely above your level, but you could give it a shot.

    Also, why not just use the official launcher?

  10. #10
    Account Upgraded | Title Enabled! 00niels00 is offline
    MemberRank
    Sep 2008 Join Date
    The NetherlandsLocation
    1,041Posts

    Re: Start runable c#!

    Quote Originally Posted by Team Zebra View Post
    I believe the launcher checks for certain values in the clipboard at certain times. "I_love_maiet", "I_hate_hacker" are what they used to be. Most likely above your level, but you could give it a shot.

    Also, why not just use the official launcher?
    Because i scripted anti-hack inside launcher it's very unstable but it's a start

  11. #11

    Re: Start runable c#!

    The text has to have a certain timestamp.

  12. #12
    Proficient Member -Lambda- is offline
    MemberRank
    Jan 2007 Join Date
    SpainLocation
    157Posts

    Re: Start runable c#!

    The launcher uses a custom clipboard format so you cant see it unless you know the format ( its viewable through ollydbg ), and also the string is encrypted with the SEED algorithm.

    Near the address that demantor have posted there is a lot of calls to OpenClipboard, IsClipboardFormatAvailable(theformatid), GetClipboardData and CloseClipboard.

  13. #13
    Account Upgraded | Title Enabled! 00niels00 is offline
    MemberRank
    Sep 2008 Join Date
    The NetherlandsLocation
    1,041Posts

    Re: Start runable c#!

    Ok i need to set clip board.
    Code:
                Clipboard.SetText("I_hate_hacker", TextDataFormat.Text);
                    System.Diagnostics.Process.Start("theduel.exe");
    It doesn't work. Which format it has?

  14. #14
    Account Upgraded | Title Enabled! Mr.Lucifer is offline
    MemberRank
    Apr 2007 Join Date
    797Posts

    Re: Start runable c#!

    SetClipboardData(1378, THESERIALKEY);

  15. #15
    Account Upgraded | Title Enabled! 00niels00 is offline
    MemberRank
    Sep 2008 Join Date
    The NetherlandsLocation
    1,041Posts

    Re: Start runable c#!

    Ok i will try later. At which address in olly u can see the serial key?
    I use xiao runable filelist skip. Whats the serial key in it?

  16. #16
    Account Upgraded | Title Enabled! Mr.Lucifer is offline
    MemberRank
    Apr 2007 Join Date
    797Posts

    Re: Start runable c#!

    It's not clear text... Read what Lambda said.

  17. #17
    Sultan of Yolo Demantor is offline
    MemberRank
    May 2008 Join Date
    GermanyLocation
    1,266Posts

    Re: Start runable c#!

    Lambda in his server had made his Own Launcher, he knows all about Gunz, try asking him ^^

  18. #18
    Account Upgraded | Title Enabled! 00niels00 is offline
    MemberRank
    Sep 2008 Join Date
    The NetherlandsLocation
    1,041Posts

    Re: Start runable c#!

    Quote Originally Posted by Demantor View Post
    Lambda in his server had made his Own Launcher, he knows all about Gunz, try asking him ^^
    Do you know his msn? And was it scripted in c#?

    Btw did any one here ever make a own launcher working.

  19. #19
    Proficient Member -Lambda- is offline
    MemberRank
    Jan 2007 Join Date
    SpainLocation
    157Posts

    Re: Start runable c#!

    Quote Originally Posted by Demantor View Post
    Lambda in his server had made his Own Launcher, he knows all about Gunz, try asking him ^^
    I had my own launcher but i use other method to block the "double click run" on my GunZ exe, its more easy to use a mutex than emulate the GunZ way.

  20. #20
    Account Upgraded | Title Enabled! Mr.Lucifer is offline
    MemberRank
    Apr 2007 Join Date
    797Posts

    Re: Start runable c#!

    Quote Originally Posted by -Lambda- View Post
    I had my own launcher but i use other method to block the "double click run" on my GunZ exe, its more easy to use a mutex than emulate the GunZ way.
    What would you say is the easiest solution among the two? Personally I have barely ever heard of mutex (dekker, spinlock or something, right?) myself. It sounds difficult.

  21. #21
    Proficient Member -Lambda- is offline
    MemberRank
    Jan 2007 Join Date
    SpainLocation
    157Posts

    Re: Start runable c#!

    The mutex way is the one of the easiest.

    In your launcher you call CreateMutex( "MyGunzLauncher", FALSE, NULL );

    then you starts the Gunz.exe via your custom launcher, that Gunz.exe MUST have disabled the serialkey stuff, and you in your launcher MUST wait like 5 secs after you have CreateProcess'ed your Gunz.exe.

    In your GunZ.exe you must do a codecave and call OpenMutex( MUTEX_ALL_ACCESS, FALSE, "MyGunzLauncher" ) and check the return value of the function, if its 0, your exe doesnt have been launched from your launcher, if its different than 0, your exe have been launched via your launcher.

  22. #22
    Sultan of Yolo Demantor is offline
    MemberRank
    May 2008 Join Date
    GermanyLocation
    1,266Posts

    Re: Start runable c#!

    Quote Originally Posted by -Lambda- View Post
    The mutex way is the one of the easiest.

    In your launcher you call CreateMutex( "MyGunzLauncher", FALSE, NULL );

    then you starts the Gunz.exe via your custom launcher, that Gunz.exe MUST have disabled the serialkey stuff, and you in your launcher MUST wait like 5 secs after you have CreateProcess'ed your Gunz.exe.

    In your GunZ.exe you must do a codecave and call OpenMutex( MUTEX_ALL_ACCESS, FALSE, "MyGunzLauncher" ) and check the return value of the function, if its 0, your exe doesnt have been launched from your launcher, if its different than 0, your exe have been launched via your launcher.
    You are not Lambda.

  23. #23
    Account Upgraded | Title Enabled! Mr.Lucifer is offline
    MemberRank
    Apr 2007 Join Date
    797Posts

    Re: Start runable c#!

    Why you say say -Lambda- is not Lambda Demantor? -Lambda- seems like a person who's not dumb enough to impersonate people.

    Quote Originally Posted by -Lambda- View Post
    The mutex way is the one of the easiest.

    In your launcher you call CreateMutex( "MyGunzLauncher", FALSE, NULL );

    then you starts the Gunz.exe via your custom launcher, that Gunz.exe MUST have disabled the serialkey stuff, and you in your launcher MUST wait like 5 secs after you have CreateProcess'ed your Gunz.exe.

    In your GunZ.exe you must do a codecave and call OpenMutex( MUTEX_ALL_ACCESS, FALSE, "MyGunzLauncher" ) and check the return value of the function, if its 0, your exe doesnt have been launched from your launcher, if its different than 0, your exe have been launched via your launcher.
    Thanks a lot. That's really helpful.

  24. #24
    Account Upgraded | Title Enabled! katsumi is offline
    MemberRank
    Oct 2008 Join Date
    Earth ??Location
    592Posts

    Re: Start runable c#!

    Lambdas psts are useful but i am sure i dont understand what he says:P

  25. #25
    Account Upgraded | Title Enabled! 00niels00 is offline
    MemberRank
    Sep 2008 Join Date
    The NetherlandsLocation
    1,041Posts

    Re: Start runable c#!

    I dont understand to. I just want to start my runabgle in c# with my custom launcher. And i don't want they just can dubble click on runable to start it. And what is mutex?



Page 1 of 2 12 LastLast

Advertisement