mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2025-01-09 19:48:37 +01:00
cursed draft of PoW
This commit is contained in:
parent
df60190dc3
commit
0896d8f693
@ -261,6 +261,7 @@ function renderActions() {
|
||||
addAction("Listen to offline login in VIAaaS instance", () => {
|
||||
let user = prompt("Offline username (case-sensitive):", "");
|
||||
if (!user) return;
|
||||
// todo: do { a = JSON.stringify({username: user, date: Date.now(), rand: Math.random()}) } while (!sha512(a).startsWith("00000")); console.log(a);
|
||||
socket.send(JSON.stringify({action: "offline_login", username: user}));
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user