made instaboot up-to-date

This commit is contained in:
Elijah 2018-05-21 01:00:34 -05:00
parent 49a309ad64
commit f1dfce89ab
2 changed files with 3 additions and 3 deletions

View File

@ -152,7 +152,7 @@ document.getElementById("goButton").addEventListener("click", async () => {
alert("You need to upload a file, to use an uploaded file."); alert("You need to upload a file, to use an uploaded file.");
return; return;
} }
logOutput("Using uploaded payload \"" + file + "\""); logOutput("Using uploaded payload \"" + file.name + "\"");
payload = new Uint8Array(await readFileAsArrayBuffer(file)); payload = new Uint8Array(await readFileAsArrayBuffer(file));
} else { } else {
logOutput("<span style='color:red'>You're trying to load a payload type that doesn't exist.</span>"); logOutput("<span style='color:red'>You're trying to load a payload type that doesn't exist.</span>");
@ -166,7 +166,7 @@ document.getElementById("goButton").addEventListener("click", async () => {
for (var i = 0; i < payload.length; i++) { for (var i = 0; i < payload.length; i++) {
payloadToLog += "0x" + payload[i].toString(16) + ", ".toUpperCase(); payloadToLog += "0x" + payload[i].toString(16) + ", ".toUpperCase();
} }
payloadToLog = payloadToLog.toUpperCase(); payloadToLog = payloadToLog;
logOutput(payloadToLog); logOutput(payloadToLog);
return; return;
} }

File diff suppressed because one or more lines are too long