aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcinzelent <zelent.marcin@gmail.com>2018-06-16 22:50:18 +0200
committermarcinzelent <zelent.marcin@gmail.com>2018-06-16 22:50:18 +0200
commitb0cf064f819357feedc77d6d5eb0de49e122554a (patch)
tree2ba0defb81576326dbc25736174100bfd43f677c /examples-secure/sql-injection/index.html
parent7d93b9b60f0923b0f895d63b2d456b279a6ab774 (diff)
Added command injection example and secured examples
Diffstat (limited to 'examples-secure/sql-injection/index.html')
-rw-r--r--examples-secure/sql-injection/index.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/examples-secure/sql-injection/index.html b/examples-secure/sql-injection/index.html
new file mode 100644
index 0000000..d3e760b
--- /dev/null
+++ b/examples-secure/sql-injection/index.html
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML>
+<html>
+ <head>
+ <title>Login page</title>
+ <meta charset="utf-8" />
+<style>
+body {
+ text-align: center;
+}
+
+input {
+ margin-bottom: 5px;
+}
+
+</style>
+ </head>
+ <body>
+ <h1>Login</h1>
+ <form action="login.php" method="post">
+ <input type="text" name="email" placeholder="E-mail"><br>
+ <input type="password" name="pass" placeholder="Password"><br>
+ <input type="submit" value="Log in">
+ </form>
+ </body>
+</html>