Skip to content

Commit

Permalink
fix: move logout button and fix docker xml-rpc bug
Browse files Browse the repository at this point in the history
  • Loading branch information
snoopysecurity committed Jul 23, 2021
1 parent a3ec407 commit 917b57a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ services:
build: .
ports:
- "80:80"
- "9090:9090"
command: sh -c "/wait && node startup_script.js && npm run dvws"
environment:
WAIT_HOSTS: dvws-mysql:3306, dvws-mongo:27017
Expand Down
15 changes: 9 additions & 6 deletions public/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,19 @@ <h2>Damn Vulnerable Web Services<br> Home Area</h2>

</div>
</div>

<br><br><br><br><br><br>
<p>Log-out:<script>
document.write(`<a href="/api/v2/users/logout/${document.domain}">
<span class="glyphicon glyphicon-log-out"></span>
</a>`);
</script>
</p>

</div>

</div>

<p>Log-out:<script>
document.write(`<a href="/api/v2/users/logout/${document.domain}">
<span class="glyphicon glyphicon-log-out"></span>
</a>`);
</script>
</p>


<script type="text/javascript">
Expand Down

0 comments on commit 917b57a

Please sign in to comment.