Last active
March 30, 2025 09:50
-
-
Save 123jimin/dc423eac2f7f4d89707d43c2162b5d91 to your computer and use it in GitHub Desktop.
M573 Session ID Extractor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name 573 Session ID Extractor | |
// @namespace https://r-g.kr/ | |
// @version 2025-03-30 | |
// @description Extracts 573 session ID. Warning: SESSION ID MUST NOT BE LEAKED! | |
// @author Jimin Park | |
// @match https://p.eagate.573.jp/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=p.eagate.573.jp | |
// @grant GM_cookie | |
// @run-at document-end | |
// ==/UserScript== | |
(async function() { | |
'use strict'; | |
const cookies = await GM.cookie.list(); | |
const session_cookie = cookies.find(({name}) => name === 'M573SSID'); | |
if(!session_cookie) { | |
console.error("No session cookie can be found!"); | |
return; | |
} | |
const session_id = session_cookie.value; | |
const button_elem = document.createElement('button'); | |
button_elem.textContent = "View Session ID"; | |
button_elem.style.cursor = 'pointer'; | |
button_elem.addEventListener('click', () => { | |
prompt("Session Key (Keep this private!):", session_id); | |
}); | |
document.body.appendChild(button_elem); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Anyone with your session ID will be able to do anything on behalf of you on the website, so take extra caution not to expose your session ID.
To use this script in Tampermonkey, change the configs as following: