Updated hashcat.wasm, fixed borked formatting
This commit is contained in:
parent
b4298dbdbb
commit
fb6ed88584
|
@ -101,6 +101,7 @@ signupButton.addEventListener("click", () => {
|
||||||
* I should stop including comments into JS and possibly minify this code. Oh, well.
|
* I should stop including comments into JS and possibly minify this code. Oh, well.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
window.resourceExtra = "I love Burgernotes!"
|
||||||
const go = new Go();
|
const go = new Go();
|
||||||
WebAssembly.instantiateStreaming(fetch("/static/wasm/hashcat.wasm"), go.importObject).then((result) => {
|
WebAssembly.instantiateStreaming(fetch("/static/wasm/hashcat.wasm"), go.importObject).then((result) => {
|
||||||
go.run(result.instance);
|
go.run(result.instance);
|
||||||
|
@ -134,7 +135,6 @@ signupButton.addEventListener("click", () => {
|
||||||
.then((response) => response)
|
.then((response) => response)
|
||||||
.then(async (response) => {
|
.then(async (response) => {
|
||||||
let responseData = await response.json()
|
let responseData = await response.json()
|
||||||
|
|
||||||
if (response.status === 200) {
|
if (response.status === 200) {
|
||||||
statusBox.innerText = "Setting up encryption keys..."
|
statusBox.innerText = "Setting up encryption keys..."
|
||||||
localStorage.setItem("DONOTSHARE-secretkey", responseData["key"])
|
localStorage.setItem("DONOTSHARE-secretkey", responseData["key"])
|
||||||
|
|
Binary file not shown.
Reference in New Issue