Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Login Page for my website.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam
View previous topic :: View next topic  
Author Message
OSIRIS
Grandmaster Cheater
Reputation: 0

Joined: 27 Aug 2006
Posts: 654

PostPosted: Sat Oct 11, 2008 1:59 pm    Post subject: Login Page for my website. Reply with quote

http://stefon.kicks-ass.net/admin.php
USER: admin
PASS: admin

It is pretty cool because I made it so no MySQL is used. I plan on using this page to modify the 'IP Log' file and edit the 'Ban List'
Back to top
View user's profile Send private message
sinsgift
Cheater
Reputation: -1

Joined: 16 Aug 2007
Posts: 43
Location: behind you

PostPosted: Sat Oct 11, 2008 2:00 pm    Post subject: Reply with quote

stfux up!
_________________
Watch out im out to get you...

Back to top
View user's profile Send private message
Reak
I post too much
Reputation: 0

Joined: 15 May 2007
Posts: 3496

PostPosted: Sat Oct 11, 2008 2:00 pm    Post subject: Reply with quote

I can't see a session when logging in.
Back to top
View user's profile Send private message
Localhost
I post too much
Reputation: 0

Joined: 28 Apr 2007
Posts: 3402

PostPosted: Sat Oct 11, 2008 2:04 pm    Post subject: Reply with quote

[Stefon], if there is only 1 username and password (fail) it doesnt need Mysql... you just do

if($_POST['user'] == "admin" && $_POST['pass'] == "admin")
{
logged in!
}
else
{
fail
}

_________________
Back to top
View user's profile Send private message MSN Messenger
OSIRIS
Grandmaster Cheater
Reputation: 0

Joined: 27 Aug 2006
Posts: 654

PostPosted: Sat Oct 11, 2008 2:05 pm    Post subject: Reply with quote

<?php
$username = "admin";
$password = "admin";
if ($_POST['txtUsername'] != $username || $_POST['txtPassword'] != $password) {
?>

<h1>Login</h1>

<form name="form" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<p><label for="txtUsername">Username:</label>
<br /><input type="text" title="Enter your Username" name="txtUsername" /></p>
<p><label for="txtpassword">Password:</label>
<br /><input type="password" title="Enter your password" name="txtPassword" /></p>
<p><input type="submit" name="Submit" value="Login" /></p>
</form>

<?php
}
else {
?>



This is where the pr0nz go.



<?php
}
?>
Back to top
View user's profile Send private message
Localhost
I post too much
Reputation: 0

Joined: 28 Apr 2007
Posts: 3402

PostPosted: Sat Oct 11, 2008 2:09 pm    Post subject: Reply with quote

Code:
<?php
if(isset($_POST['user']) && isset($_POST['pass']))
{
   if($_POST['user'] == "admin" && $_POST['pass'] == "admin")
   {
   echo "You are logged in!";
   }
   else
   {
   echo "epic fail login!";
   }
}
else
{
echo '
   <form name="form" method="post" action="">
   <p><label for="txtUsername">Username:</label>
   <br /><input type="text" title="Enter your Username" name="txtUsername" /></p>
   <p><label for="txtpassword">Password:</label>
   <br /><input type="password" title="Enter your password" name="txtPassword" /></p>
   <p><input type="submit" name="Submit" value="Login" /></p>
   </form>
';
}
?>


mines better

_________________
Back to top
View user's profile Send private message MSN Messenger
Reak
I post too much
Reputation: 0

Joined: 15 May 2007
Posts: 3496

PostPosted: Sat Oct 11, 2008 2:14 pm    Post subject: Reply with quote

you can do it with filestreams too.

@localhost:

Yours has mistakes.


Last edited by Reak on Sat Oct 11, 2008 2:15 pm; edited 1 time in total
Back to top
View user's profile Send private message
Localhost
I post too much
Reputation: 0

Joined: 28 Apr 2007
Posts: 3402

PostPosted: Sat Oct 11, 2008 2:15 pm    Post subject: Reply with quote

localhost wrote:
Code:
<?php
if(isset($_POST['user']) && isset($_POST['pass']))
{
   if($_POST['user'] == "admin" && $_POST['pass'] == "admin")
   {
   echo "You are logged in!";
   }
   else
   {
   echo "epic fail login!";
   }
}
else
{
echo '
   <form name="form" method="post" action="">
   <p><label for="txtUsername">Username:</label>
   <br /><input type="text" title="Enter your Username" name="txtUsername" /></p>
   <p><label for="txtpassword">Password:</label>
   <br /><input type="password" title="Enter your password" name="txtPassword" /></p>
   <p><input type="submit" name="Submit" value="Login" /></p>
   </form>
';
}
?>


mines better

_________________
Back to top
View user's profile Send private message MSN Messenger
Reak
I post too much
Reputation: 0

Joined: 15 May 2007
Posts: 3496

PostPosted: Sat Oct 11, 2008 2:16 pm    Post subject: Reply with quote

rEakW0n wrote:
you can do it with filestreams too.

@localhost:

Yours has mistakes.
Back to top
View user's profile Send private message
Localhost
I post too much
Reputation: 0

Joined: 28 Apr 2007
Posts: 3402

PostPosted: Sat Oct 11, 2008 2:17 pm    Post subject: Reply with quote

i just wipped it together, lol do you think id actually test it?
_________________
Back to top
View user's profile Send private message MSN Messenger
Reak
I post too much
Reputation: 0

Joined: 15 May 2007
Posts: 3496

PostPosted: Sat Oct 11, 2008 2:21 pm    Post subject: Reply with quote

I saw that on first sight without testing^^ Very Happy
Back to top
View user's profile Send private message
Localhost
I post too much
Reputation: 0

Joined: 28 Apr 2007
Posts: 3402

PostPosted: Sat Oct 11, 2008 2:22 pm    Post subject: Reply with quote

wuts wrong god?
_________________
Back to top
View user's profile Send private message MSN Messenger
Reak
I post too much
Reputation: 0

Joined: 15 May 2007
Posts: 3496

PostPosted: Sat Oct 11, 2008 2:23 pm    Post subject: Reply with quote

OMG U CALL ME GOD?

Form names are txtUsername, txtPassword and you are parsing user, pass.

CANT WORK!!!11
Back to top
View user's profile Send private message
pedofaggot
Expert Cheater
Reputation: 0

Joined: 11 Feb 2007
Posts: 213

PostPosted: Sat Oct 11, 2008 2:24 pm    Post subject: Reply with quote

http://www.ihatemisty.com?id=bmekeydg8776i119j25dgxdtzqgqln
Back to top
View user's profile Send private message
Localhost
I post too much
Reputation: 0

Joined: 28 Apr 2007
Posts: 3402

PostPosted: Sat Oct 11, 2008 2:24 pm    Post subject: Reply with quote

rEakW0n wrote:
OMG U CALL ME GOD?

Form names are txtUsername, txtPassword and you are parsing user, pass.

CANT WORK!!!11


oh lawd, i didnt even look at his HTML

_________________
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites