From 31affb98881112cda4bb1360bf356257af5bd006 Mon Sep 17 00:00:00 2001 From: Elijah Bansley Date: Thu, 17 May 2018 13:05:21 -0500 Subject: [PATCH] Update main.js --- main.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.js b/main.js index 17964e4..77de474 100644 --- a/main.js +++ b/main.js @@ -124,6 +124,10 @@ document.getElementById("goButton").addEventListener("click", async () => { logOutput("You're trying to load a payload type that doesn't exist."); return; } + var payloadToLog = ""; + for (var i = 0; i < payload.length; i++) { + payloadToLog += "0x" + payload[i].toString(16) + ", ".toUpperCase(); + } payloadToLog = payLoadToLog.toUpperCase(); logOutput(payloadToLog); return;