Implemented SQL injection attackable service
This commit is contained in:
16
static/css/index.css
Normal file
16
static/css/index.css
Normal file
@@ -0,0 +1,16 @@
|
||||
.cats {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.books {
|
||||
border: 1px solid grey;
|
||||
min-width: 200px;
|
||||
min-height: 350px;
|
||||
margin: 5px;
|
||||
padding: 5px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.book > img {
|
||||
width: 190px;
|
||||
}
|
||||
BIN
static/images/americanah.jpeg
Normal file
BIN
static/images/americanah.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
BIN
static/images/download.jpeg
Normal file
BIN
static/images/download.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
BIN
static/images/elon.jpeg
Normal file
BIN
static/images/elon.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
BIN
static/images/lord_of.jpeg
Normal file
BIN
static/images/lord_of.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.6 KiB |
23
static/index.html
Normal file
23
static/index.html
Normal file
@@ -0,0 +1,23 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>{{project_name}}</title>
|
||||
<link rel="stylesheet" href="static/css/index.css" type="text/css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>{{project_name}}</h1>
|
||||
<form method="post" a>
|
||||
<label for="username">Username: </label>
|
||||
<input type="text" name="username" required>
|
||||
<br>
|
||||
<label for="password">Password: </label>
|
||||
<input type="text" name="password" required>
|
||||
<br>
|
||||
<input type="submit" value="login">
|
||||
</form>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
23
static/store.html
Normal file
23
static/store.html
Normal file
@@ -0,0 +1,23 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>{{project_name}}</title>
|
||||
<link rel="stylesheet" href="static/css/index.css" type="text/css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>{{project_name}}</h1>
|
||||
<section class="cats">
|
||||
{{#each books}}
|
||||
<article class="cat">
|
||||
<h3>{{this.name}}</h3>
|
||||
<img src="{{this.image_path}}" />
|
||||
<h4>Author: {{this.author}}</h4>
|
||||
</article>
|
||||
{{/each}}
|
||||
</section>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user