Last active
April 28, 2016 16:45
-
-
Save AndyNovo/ab7223184e321518b55554a14bf99dbe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<title>Welcome to the chat</title> | |
</head> | |
<body> | |
<p>Chat screen for MYUSERNAME <span class="lang">LANGUAGEHERE</span></p> | |
<hr> | |
<table border="1"> | |
<col style="width:10%"> | |
<col style="width:90%"> | |
<tr><th>Username</th><th>Message</th></tr> | |
MESSAGESHERE | |
</table> | |
<hr> | |
<form action="index.php" method="post"> | |
<input type="hidden" name="csrftoken" value="THETOKENGOESHERE"/> | |
<input type="text" name="message" placeholder="chat here"></input> | |
<button type="submit">Send</button> | |
</form> | |
<hr> | |
<form action="index.php" method="post"> | |
<input type="hidden" name="logout" value="true"/> | |
<button type="submit">Logout</button> | |
</form> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<title>Login Please</title> | |
</head> | |
<body> | |
<p>Welcome to the insecure and unpleasant chat app. <span class="lang">LANGUAGEHERE</span></p> | |
MESSAGEHERE | |
<hr> | |
<form method="post"> | |
<input type="text" name="username" placeholder="username, e.g. admin"></input> | |
<input type="password" name="password" placeholder="password"></input> | |
<input type="hidden" name="login" value="login"> | |
<button type="submit">Login</button> | |
</form> | |
<hr> | |
<form action="index.php" method="post"> | |
<input type="text" name="username" placeholder="username, e.g. admin"></input> | |
<input type="password" name="password" placeholder="password"></input> | |
<input type="hidden" name="register" value="register"> | |
<button type="submit">or Register</button> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment