mirror of
https://github.com/HackTricks-wiki/hacktricks.git
synced 2025-10-10 18:36:50 +00:00
Translated ['src/pentesting-web/xss-cross-site-scripting/xss-in-markdown
This commit is contained in:
parent
918db3c756
commit
810d89d598
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
{{#include ../../banners/hacktricks-training.md}}
|
{{#include ../../banners/hacktricks-training.md}}
|
||||||
|
|
||||||
如果你有机会在markdown中注入代码,有几种选项可以用来触发XSS,当代码被解释时。
|
如果你有机会在markdown中注入代码,有几种选项可以在代码被解释时触发XSS。
|
||||||
|
|
||||||
### HTML tags
|
### HTML tags
|
||||||
|
|
||||||
@ -14,7 +14,7 @@ alert(1)
|
|||||||
</script>
|
</script>
|
||||||
<img src="x" onerror="alert(1)" />
|
<img src="x" onerror="alert(1)" />
|
||||||
```
|
```
|
||||||
您可以在[hacktricks的主要XSS页面]()找到更多示例。
|
您可以在[hacktricks的主XSS页面](README.md)找到更多示例。
|
||||||
|
|
||||||
### Javascript链接
|
### Javascript链接
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user