@suul/ssrf-test 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -19
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1,24 +1,14 @@
|
|
|
1
1
|
# ssrf-test
|
|
2
2
|
|
|
3
|
-
Security research
|
|
3
|
+
Security research.
|
|
4
4
|
|
|
5
|
-
##
|
|
6
|
-
<img src="x" onerror="document.title='XSS-TEST-1'">
|
|
5
|
+
## XSS Tests
|
|
7
6
|
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
Test 1: `<img src="x" onerror="document.title='XSS1'">`
|
|
8
|
+
Test 2: `<svg onload="document.title='XSS2'"></svg>`
|
|
9
|
+
Test 3: `<a href="javascript:void(0)">link</a>`
|
|
10
|
+
Test 4: Normal paragraph with **bold** text.
|
|
10
11
|
|
|
11
|
-
|
|
12
|
-
<
|
|
13
|
-
|
|
14
|
-
## Test 4: javascript href
|
|
15
|
-
<a href="javascript:document.title='XSS-TEST-4'">click me</a>
|
|
16
|
-
|
|
17
|
-
## Test 5: data URI
|
|
18
|
-
<img src="data:text/html,<script>document.title='XSS-TEST-5'</script>">
|
|
19
|
-
|
|
20
|
-
## Test 6: SVG foreignObject
|
|
21
|
-
<svg><foreignObject><p>test</p></foreignObject></svg>
|
|
22
|
-
|
|
23
|
-
## Test 7: CSS expression (IE)
|
|
24
|
-
<p style="width:expression(document.title='XSS-TEST-7')">test</p>
|
|
12
|
+
<img src="x" onerror="document.title='XSS-SURVIVED'">
|
|
13
|
+
<svg onload="document.title='XSS-SVG'"></svg>
|
|
14
|
+
<a href="javascript:alert(document.cookie)">JS link</a>
|
package/package.json
CHANGED