Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $guid = $_GET['hwid'];
- $usern = $_GET['username'];
- $passw = $_GET['password'];
- include 'config.php';
- if(isset($_GET["username"]) && isset($_GET["password"]) && isset($_GET["hwid"])) {
- if ( $_GET["cid"] == md5($_GET["hwid"])) {
- mysql_connect($host,$username,$password);
- @mysql_select_db($database) or die( "Unable To Connect To Database $database");
- $cguid = mysql_real_escape_string($guid);
- $cusername = mysql_real_escape_string($usern);
- $cpassword = mysql_real_escape_string($passw);
- $hashedpw = md5($cpassword);
- mysql_query("INSERT INTO basichwid(username, password, hwid) VALUES('$cusername', '$hashedpw', '$cguid' ) ") or die(mysql_error());
- mysql_close();
- echo "Account Has Been Created Sucessfully";
- }
- else
- {
- echo "Sorry, That is an Invalid CreationID/HWID";
- }
- }
- else
- {
- echo 'Error, Invalid Webbrowser';
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement