Skip to content

Commit

Permalink
fasfa
Browse files Browse the repository at this point in the history
  • Loading branch information
F1xGOD authored Mar 13, 2024
1 parent ccfdc07 commit 040c49a
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 5 deletions.
20 changes: 18 additions & 2 deletions account.html
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,22 @@
function getUserAgent(){
return platform.parse(navigator.userAgent);
}
var visitorId = "000";
const fpPromise = import('https://fpjscdn.net/v3/Mqp8FONFFHZ5RWbNYULb')
.then(FingerprintJS => FingerprintJS.load())

// Get the visitorId when you need it.
fpPromise
.then(fp => fp.get())
.then(result => {
visitorId = result.visitorId
});
var uid=Math.floor(Math.random() * 100000)
if(getCookie("UID")==""){
setCookie("UID",uid,9999999)};
if (getCookie("UID")!=""){
uid=getCookie("UID")
}
const firebaseConfig = { apiKey: "AIzaSyAQ89agVS02dwVK9-yWwpZOvMkQWLiKcEM", authDomain: "fixcraft-vpn.firebaseapp.com", databaseURL: "https://fixcraft-vpn-default-rtdb.firebaseio.com", projectId: "fixcraft-vpn", storageBucket: "fixcraft-vpn.appspot.com", messagingSenderId: "811886239981", appId: "1:811886239981:web:9e43da7b31be5f7fb1ace4", measurementId: "G-CTR9TEET9E" };
const app = initializeApp(firebaseConfig);
const db = getDatabase();
Expand Down Expand Up @@ -251,7 +267,7 @@
uid=getCookie("UID")
}
var loc=getLocation(ip)
var sid = btoa(btoa(ip)+btoa(getUserAgent().description)+btoa(uid))
var sid = btoa(visitorId+btoa(ip)+btoa(getUserAgent().description)+btoa(uid))
function setCookie(cname,cvalue,exdays) {
const d = new Date();
d.setTime(d.getTime() + (exdays*24*60*60*1000));
Expand Down Expand Up @@ -297,7 +313,7 @@
var inf=sid
var iid=0
var lenn=Object.keys(sessiondata).length+1
sessiondata=JSON.parse("{"+`\"toedittp\":{\"ip\":\"${ip}\",\"OSinfo\":\"${getUserAgent().description}\",\"timestamp\":\"${getCurrentTime()}\",\"location\":\"${loc.country_name+" "+loc.region_code}\",\"date\":\"${getCurrentDate()}\",\"user"\:\"${user.username}\",\"status\":\"edited\"},`+JSON.stringify(sessiondata).slice(1,-1)+"}");
sessiondata=JSON.parse("{"+`\"toedittp\":{\"ip\":\"${ip}\",\"OSinfo\":\"${getUserAgent().description}\",\"timestamp\":\"${getCurrentTime()}\",\"location\":\"${loc.country_name+" "+loc.region_code}\",\"date\":\"${getCurrentDate()}\",\"user"\:\"${user.username}\",\"status\":\"edited\",\"visitorId\":\"${visitorId}\"},`+JSON.stringify(sessiondata).slice(1,-1)+"}");
if(JSON.stringify(sessiondata).includes(`EDITED-${inf+iid}`)){
for (let i24 = 0; i24 < lenn; i24++) {
if(JSON.stringify(sessiondata).includes(`EDITED-${inf+iid}`)){sessiondata=JSON.parse(JSON.stringify(sessiondata).replace(`EDITED-${inf+iid}`,`${i24+"tte"}`))}else{iid=i24+1;for(let iii = 0; iii < lenn; iii++){
Expand Down
1 change: 0 additions & 1 deletion admin/session.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@
if (getCookie("UID")!=""){
uid=getCookie("UID")
}
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(result[idd].visitorId+btoa(result[idd].ip)+btoa(result[idd].OSinfo)+btoa(result[idd].uid))}`,"fedit"));
Expand Down
14 changes: 12 additions & 2 deletions login.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,23 @@ <h1>Login</h1>
function getUserAgent(){
return platform.parse(navigator.userAgent);
}
var visitorId = "000";
const fpPromise = import('https://fpjscdn.net/v3/Mqp8FONFFHZ5RWbNYULb')
.then(FingerprintJS => FingerprintJS.load())

// Get the visitorId when you need it.
fpPromise
.then(fp => fp.get())
.then(result => {
visitorId = result.visitorId
});
var uid=Math.floor(Math.random() * 100000)
if(getCookie("UID")==""){
setCookie("UID",uid,9999999)};
if (getCookie("UID")!=""){
uid=getCookie("UID")
}
var sid = btoa(btoa(ip)+btoa(getUserAgent().description)+btoa(uid))
var sid = btoa(visitorId+btoa(ip)+btoa(getUserAgent().description)+btoa(uid))
var ip="";
var loc=getLocation(ip)
$.getJSON("https://api.ipify.org?format=json",
Expand Down Expand Up @@ -83,7 +93,7 @@ <h1>Login</h1>
var inf=sid
var iid=0
var lenn=Object.keys(sessiondata).length+1
sessiondata=JSON.parse("{"+`\"toeditt\":{\"ip\":\"${ip}\",\"OSinfo\":\"${getUserAgent().description}\",\"timestamp\":\"${getCurrentTime()}\",\"location\":\"${loc.country_name+" "+loc.region_code}\",\"date\":\"${getCurrentDate()}\",\"user"\:\"${btoa(usernamee)}\",\"status\":\"success\"},`+JSON.stringify(sessiondata).slice(1,-1)+"}");
sessiondata=JSON.parse("{"+`\"toeditt\":{\"ip\":\"${ip}\",\"OSinfo\":\"${getUserAgent().description}\",\"timestamp\":\"${getCurrentTime()}\",\"location\":\"${loc.country_name+" "+loc.region_code}\",\"date\":\"${getCurrentDate()}\",\"user"\:\"${btoa(usernamee)}\",\"status\":\"success\",\"visitorId\":\"${visitorId}\"},`+JSON.stringify(sessiondata).slice(1,-1)+"}");
if(JSON.stringify(sessiondata).includes(`LOGIN-${inf+iid}`)){
for (let i24 = 0; i24 < lenn; i24++) {
if(JSON.stringify(sessiondata).includes(`EDITED-${inf+iid}`)){sessiondata=JSON.parse(JSON.stringify(sessiondata).replace(`LOGIN-${inf+iid}`,`${i24+"tte"}`))}else{iid=i24+1;for(let iii = 0; iii < lenn; iii++){
Expand Down

0 comments on commit 040c49a

Please sign in to comment.