Task 20
Navigate to http://10.10.172.84/ in your browser and click on the "Reflected XSS" tab on the navbar; craft a reflected XSS payload that will cause a popup saying "Hello".
<script>alert(“Hello”)</script>Answer
On the same reflective page, craft a reflected XSS payload that will cause a popup with your machines IP address.
<script>alert(window.location.hostname)</script>Answer
Now navigate to http://10.10.172.84/ in your browser and click on the "Stored XSS" tab on the navbar; make an account. Then add a comment and see if you can insert some of your own HTML.
<h1>this is an HTML tag </h1>Answer
On the same page, create an alert popup box appear on the page with your document cookies.
Answer
Change "XSS Playground" to "I am a hacker" by adding a comment and using Javascript.

Answer
Last updated