• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Regi script for Odin Files

Newbie Spellweaver
Joined
Jan 10, 2012
Messages
18
Reaction score
1
Regi script for Odin Files

Fixed Script
 

Attachments

  • Regi Script for Odin files Fixed by Tuit(Gecko23).rar
    57.9 KB · Views: 468
Newbie Spellweaver
Joined
Jun 16, 2012
Messages
93
Reaction score
24
Fixed by Gecko23 HAHAHA liar
FIXED By KeRn
 
Newbie Spellweaver
Joined
Jun 16, 2012
Messages
93
Reaction score
24
why too much: D I do not use it! but I wrote it for someone
 
Newbie Spellweaver
Joined
Jan 10, 2012
Messages
18
Reaction score
1
Haha

no Fixed by Kern



This is Kern Bug Regi script
screenshot0011 - Regi script for Odin Files - RaGEZONE Forums
View attachment REGI kern stealed.rar
 
Newbie Spellweaver
Joined
Jan 10, 2012
Messages
18
Reaction score
1
PHP:
    }
    else
    {
        $required=array(
            "Username"=>$_POST[username],
	"E-Mail"=>$_POST[email],
            "Password"=>$_POST[password],
        );

Fail ;)
_____________________________________________________

PHP:
    }
    else
    {
        $required=array(
            "Username"=>$_POST['username'],
	"E-Mail"=>$_POST['email'],
            "Password"=>$_POST['password'],
        );




PHP:
function rand_string() {
    $chars = "123456789";	
    
    $size = strlen($chars);
    for($i = 0; $i < 5; $i++) {
        $str .= $chars[rand(0, $size - 1)];
    }
    
    return $str;
}


Fail ;)
__________________________________________________________________

PHP:
function rand_string() {
    $chars = "123456789";	
    
	$str = "";
	$size = strlen( $chars );
	for( $i = 0; $i < 5; $i++ ) {
		$str .= $chars[ rand( 0, $size - 1 ) ];
	}
	return $str;
}





PHP:
 if($_POST[action]!="signup")
    {

        echo "<form method='post' onSubmit='disabledBttn(this)' action=".$_SERVER[PHP_SELF]."?id=reg".$_SERVER[QUERY_STRING].">

Fail ;)

_____________________________________________________


PHP:
    if(!isset($_POST['action']) || $_POST['action'] != "signup")
    {

        echo "<form method='post' onsubmit='disabledBttn(this)' action=".$_SERVER['PHP_SELF']."?id=reg".$_SERVER['QUERY_STRING'].">
and more ;)
 
Last edited:
Newbie Spellweaver
Joined
Jun 16, 2012
Messages
93
Reaction score
24
But you have no idea: D
My script works perfect!
And My Script is not Stolen :D NOOP :D
've Sent to someone
 
Newbie Spellweaver
Joined
May 16, 2012
Messages
51
Reaction score
1
I get this error...
 

Attachments

  • regi_bugged - Regi script for Odin Files - RaGEZONE Forums
    regi_bugged.jpg
    19.5 KB · Views: 93
Last edited:
Joined
Apr 21, 2010
Messages
461
Reaction score
188
Here

tAccounts : Multiupload.nl - upload your files to multiple file hosting sites!

Index.php Fix:

PHP:
<?
ob_start('ob_gzhandler');

session_start();

include_once "config.php";

echo "<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>
<html>
<head>
<title>".$title."</title>
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>
<link href='css/style.css' rel='stylesheet' type='text/css'>
<script language='JavaScript' type='text/JavaScript'>
<!-- 
function disabledBttn(formname)
{
    if (document.all || document.getElementById) {
        for (i=0;i<formname.length;i++) {
            var bttn=formname.elements[i];
            if(bttn.type.toLowerCase()=='submit' || bttn.type.toLowerCase()=='reset' || bttn.type.toLowerCase()=='button')
                bttn.disabled=true;
        }
    }
}
//-->
</script>
</head>

<body leftmargin='0' topmargin='10' marginwidth='0' marginheight='0'>
<table width='100%' height='100%' border='0' align='center' cellpadding='0' cellspacing='0'>
  <tr>
    <td>
      <table width='430' border='0' align='center' cellpadding='0' cellspacing='0'>
        <tr>
          <td><img src='imgs/fiesta_logo.png' alt='top' width='300' height='168'></td>
        </tr>
        <tr>
          <td style='font-size:5px'> </td>
        </tr>
        <tr>
          <td align='center' bgcolor='white' style='border-bottom: solid 1px #cecece; border-top: solid 1px #cecece; border-left: solid 1px #cecece; border-right: solid 1px #cecece' class='padding_all'


          </td>
        </tr>
      </table>

      <br>

      <table width='350' border='0' align='center' cellpadding='0' cellspacing='0'>
        <tr>
          <td align='center' bgcolor='white' style='border-bottom: solid 1px #cecece; border-top: solid 1px #cecece; border-left: solid 1px #cecece; border-right: solid 1px #cecece' class='padding_all'>";
		  
    if(!isset($_POST['action']) || $_POST['action'] != "signup")
    {

        echo "<form method='post' onsubmit='disabledBttn(this)' action=".$_SERVER['PHP_SELF']."?id=reg".$_SERVER['QUERY_STRING'].">

            <table width='100%' border='0' align='center' cellpadding='2' cellspacing='2'>
              <tr>
                <td colspan='2'><img src='imgs/signup.gif' alt='signup' width='162' height='9'></td>
              </tr>
              <tr>
                <td width='10%'>Username</td><td><input type='text' name='username' size='20' maxlength='10'></td>
              </tr>
			
              <td></td><td><input name='email' type='hidden' value='NoEmail' ></td>
              
			  <tr>
                <td>Password</td><td><input type='password' name='password' size='20' maxlength='15'></td>
              </tr>
              <tr>
                <td colspan='2' align='right'><input type='submit' value='register' class='button'> <input type='reset' value='clear' class='button'></td>
              </tr>
            </table>
            <input type='hidden' name='action' value='signup'>
            </form>";

    }
    else
    {
        $required=array(
            "Username"=>$_POST['username'],
			"E-Mail"=>$_POST['email'],
            "Password"=>$_POST['password'],
        );



        for($i=0;$i<count($required);$i++)
        {
            list($key,$value)=each($required);

            if(!$value)
                echo "<b>$key</b> is required<br>";
            else
                $chkArr[]=true;
        }





        if(count($chkArr)==count($required))
        {
            $connection = odbc_connect( $connection_string, $user, $pass );
			if(!$func->is_valid_string($_POST['username']) && !$func->is_valid_string($_POST['password']) && !$func->is_valid_string($_POST['email']))
            {
			
                $usernameP=$_POST['username'];
                $query = "SELECT * FROM [OdinAccount].[dbo].[tAccounts] WHERE [sUsername]='$usernameP'";
                $q = odbc_exec($connection, $query);

                $qt = odbc_do($connection, $query);
                $i = 0;
                while(odbc_fetch_row($qt)) $i++;

                if($i>0)
                    echo"<b>$_POST[username]</b>, is already taken!";
                else
{
$query = "INSERT INTO [OdinAccount].[dbo].[tAccounts] ([sUsername],[sUserPass],[sUserPassSalt],[sEmail],[sIP]) VALUES('$_POST[username]','$_POST[password]','$_POST[password]','$_POST[email]','$_SERVER[REMOTE_ADDR]')";
                    $q = odbc_exec($connection, $query);
                    if($q)
                    echo"Username, <b>$_POST[username]</b> has been registered!";
                }
            }
            else
                echo"Please re-enter username and password, remove all special characters!";

        }
        echo "<br><br><a href='".$_SERVER['PHP_SELF']."?id=back'>Return</a>";
}
echo "  </td>
        </tr>
        <tr>
        <td bgcolor='#7f7f7f'><font color='#FFFFFF'>".$copy."</font></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</body>
</html>";

    exit;

ob_end_flush();
?>


Do not ever use that.
 
Back
Top