-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhtml.yaml
30 lines (30 loc) · 910 Bytes
/
html.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
swagger: '2.0'
info:
version: 1.0.0
title: Fake Login Page
description: '<div class="login-form">
<div class="heading">
<h1>HTML Injection : Fake Login</h1>
</div>
<div class="form-container">
<form action="http://site.com/login" method="get" class="form-signin">
<div class="form-group">
<label for="username">Username</label>
<input type="text" name="username" size="20">
</div>
<div class="form-group">
<label for="password">Password</label>
<input type="password" name="password" size="20">
</div>
<div class="form-group">
<button type="submit" class="btn btn-default">Login</button>
</div>
</form>
</div>
</div>'
paths:
/:
post:
responses:
'200':
description: Login successful