Getting your loader some safer

Results 1 to 9 of 9
  1. #1
    RestyleGamerZ FTW Mambo is offline
    MemberRank
    Mar 2008 Join Date
    The NetherlandsLocation
    821Posts

    Getting your loader some safer

    Since it doesn't work for everyone and everything. Fuck it ^^
    Last edited by Mambo; 11-08-09 at 04:11 PM.


  2. #2
    Account Upgraded | Title Enabled! dprz is offline
    MemberRank
    Oct 2008 Join Date
    207Posts

    Re: Getting your loader some safer

    wooo thankyou!!!

    10/10 great tut/rel

  3. #3
    Enthusiast dj_d2 is offline
    MemberRank
    Sep 2006 Join Date
    spainLocation
    44Posts

    Re: Getting your loader some safer

    This dont do anything, its the same, when you enter to the client.php, you can view the source, and it still showing the IP the dcrs and all...

  4. #4
    Alpha Member sisija is offline
    MemberRank
    Mar 2007 Join Date
    Western-EuropeLocation
    1,586Posts

    Re: Getting your loader some safer

    So actually what you are doing is this:

    Code:
    $ip = "someiphere";
    blabla.ip=<?php echo $ip; ?>;blabla
    Instead of
    Code:
    blabla.ip=someiphere;blabla
    Which will both result to
    blabla.ip=someiphere;blabla

    ? I'm sorry, but with echo you are just making it visible in the source...

    And oh

    Code:
    <?php $ip; ?>
    will result in... NOTHING!
    Last edited by sisija; 11-08-09 at 03:22 PM.

  5. #5
    Account Upgraded | Title Enabled! Qurb is offline
    MemberRank
    Jul 2006 Join Date
    MelbourneLocation
    500Posts

    Re: Getting your loader some safer

    pointless..... no safer whatsoever

  6. #6
    RestyleGamerZ FTW Mambo is offline
    MemberRank
    Mar 2008 Join Date
    The NetherlandsLocation
    821Posts

    Re: Getting your loader some safer

    Quote Originally Posted by sisija View Post
    So actually what you are doing is this:

    Code:
    $ip = "someiphere";
    blabla.ip=<?php echo $ip; ?>;blabla
    Instead of
    Code:
    blabla.ip=someiphere;blabla
    Which will both result to
    blabla.ip=someiphere;blabla

    ? I'm sorry, but with echo you are just making it visible in the source...

    And oh

    Code:
    <?php $ip; ?>
    will result in... NOTHING!
    Thx for that one. Forgot that :O

    Anyways. It does work . It doesn't show the ip for me..? Like if you filli nconfig.php to connec tto a database it won't show the details if it errors, and you can't get it from the source whatsoever. And if you do it from the file itself (like the old laoders) it will result your databaseconfigs.!

  7. #7
    Account Upgraded | Title Enabled! Ubercheese is offline
    MemberRank
    Mar 2009 Join Date
    238Posts

    Re: Getting your loader some safer

    /* and */ will hide the code.

    try this:
    Code:
    <?php
    $ip="Your IP here (I prefer masked ips. no-ip.com. If you don't know how? Google it!)";
    $infoport="Your gameport here";
    $musport="Your musport here"; // Default: 30001
    $ExternalText="The link to your external texts";
    $Variables="The link to your variables";
    $Dcrs="The link to your dcrs";
    ?>

  8. #8
    Account Upgraded | Title Enabled! yifan_lu is offline
    MemberRank
    Jun 2007 Join Date
    Next to a computer screenLocation
    692Posts

    Re: Getting your loader some safer

    Quote Originally Posted by Mambo View Post
    Uhm, because you can steal Ipadresses very easy from someones loader. I thought it would be nice to protect against that.

    Some more info:
    - You can't open a PHP file if you don't actually have it yourself.
    - You are able to protect everything now, from your ip to your dcrs!

    Well, it's very simple actually:
    1) Open Notepad

    2) Put this in:
    Code:
    <?php
    $ip="Your IP here (I prefer masked ips. no-ip.com. If you don't know how? Google it!)";
    $infoport="Your gameport here";
    $musport="Your musport here"; // Default: 30001
    /*
    $ExternalText="The link to your external texts";
    $Variables="The link to your variables";
    $Dcrs="The link to your dcrs";
    */
    ?>
    3) Safe this as config.php or whatever. It doesn't matter. And put it in the same folder as your loader.
    NOTE: If you also want to protect your externals and such. Remove the /* and */ !

    4) Now, open up your loader. Put this at the top:
    Code:
    <?php
    include("config.php");
    ?>
    5) Go to the part of connection.info.host=
    Where you normally put your ip, put this: <?php echo $ip ?>
    And where you normally put your port, do this: <?php echo $infoport ?>
    And so on
    I think it's pretty easy and it speaks for itself. Questions? Post them here!

    ~Maik/Mambo (BTW, if it has been released already, idc!)

    PS: There might be one little stupid fault in it. But i'm no webcoder..

    Credits:
    100% me
    WTF is this! Your logic is basically "I won't tell guy #1 this secret information, so I'll tell guy #2 to tell guy #1 the secret information." all you're doing is wasting PHP resources. Open the loader and click "View Source" you'll see the same thing.

    Also to whoever said you can hide code with /* and */. I double-faceplamed. /* and */ are called COMMENTS. Anything between them are not even rendered. Might as well delete everything between /* and */ because they're not going to be shown to the user.

  9. #9
    RestyleGamerZ FTW Mambo is offline
    MemberRank
    Mar 2008 Join Date
    The NetherlandsLocation
    821Posts

    Re: Getting your loader some safer

    Strange to see it works for some and some not. Nevermind i'll just fucking delete this.



Advertisement