From ccfdc077a5ee9bf31b395cf0fb15cd3b51926512 Mon Sep 17 00:00:00 2001 From: F1xGOD <105874129+F1xGOD@users.noreply.github.com> Date: Wed, 13 Mar 2024 13:38:57 -0700 Subject: [PATCH] df --- admin/session.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/session.html b/admin/session.html index 64fa97a7..c214287e 100644 --- a/admin/session.html +++ b/admin/session.html @@ -111,11 +111,11 @@ var sid = btoa(btoa(ip)+btoa(getUserAgent().description)+btoa(uid)) module.clut=function clut(idd){ var result = Object.keys(sessiondata).map((key) => sessiondata[key]); - sessiondata=JSON.parse(JSON.stringify(sessiondata).replaceAll(`ONLINE-${btoa(btoa(result[idd].OSinfo)+btoa(result[idd].uid))}`,"fedit")); + sessiondata=JSON.parse(JSON.stringify(sessiondata).replaceAll(`ONLINE-${btoa(result[idd].visitorId+btoa(result[idd].ip)+btoa(result[idd].OSinfo)+btoa(result[idd].uid))}`,"fedit")); console.log(sessiondata) - console.log(`ONLINE-${btoa(btoa(result[idd].OSinfo)+btoa(result[idd].uid))}`) + console.log(`ONLINE-${btoa(result[idd].visitorId+btoa(result[idd].ip)+btoa(result[idd].OSinfo)+btoa(result[idd].uid))}`) sessiondata.fedit.toclose=true; - sessiondata=JSON.parse(JSON.stringify(sessiondata).replaceAll("fedit",`ONLINE-${btoa(btoa(result[idd].OSinfo)+btoa(result[idd].uid))}`)) + sessiondata=JSON.parse(JSON.stringify(sessiondata).replaceAll("fedit",`ONLINE-${btoa(result[idd].visitorId+btoa(result[idd].ip)+btoa(result[idd].OSinfo)+btoa(result[idd].uid))}`)) document.getElementById(idd).style.display="none" writeus() }