From fe21e5b69d37692010999771daa4013b58d29045 Mon Sep 17 00:00:00 2001 From: Panagiotis Chartas Date: Thu, 16 Feb 2023 18:48:26 +0100 Subject: [PATCH 1/2] Update data.js --- js/data.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/js/data.js b/js/data.js index bad3d2b..56059dc 100644 --- a/js/data.js +++ b/js/data.js @@ -565,21 +565,6 @@ const rsgData = { ] }; -const hoaxshell_listener_types = { - - "Windows CMD cURL" : "cmd-curl", - "PowerShell IEX" : "ps-iex", - "PowerShell IEX Constr Lang Mode" : "ps-iex-cm", - "PowerShell Outfile" : "ps-outfile", - "PowerShell Outfile Constr Lang Mode" : "ps-outfile-cm", - "Windows CMD cURL https" : "cmd-curl -c /your/cert.pem -k /your/key.pem", - "PowerShell IEX https" : "ps-iex -c /your/cert.pem -k /your/key.pem", - "PowerShell IEX Constr Lang Mode https" : "ps-iex-cm -c /your/cert.pem -k /your/key.pem", - "PowerShell Outfile https" : "ps-outfile -c /your/cert.pem -k /your/key.pem", - "PowerShell Outfile Constr Lang Mode https" : "ps-outfile-cm -c /your/cert.pem -k /your/key.pem" - -}; - // Export the data for use within netlify functions / node if (typeof exports !== 'undefined') { exports.rsgData = rsgData; From 156410d8a9bd80010b3dc4a2773ad099a0472543 Mon Sep 17 00:00:00 2001 From: Panagiotis Chartas Date: Thu, 16 Feb 2023 18:48:59 +0100 Subject: [PATCH 2/2] Added HoaxShell --- js/script.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/js/script.js b/js/script.js index da6ef86..9454a5f 100644 --- a/js/script.js +++ b/js/script.js @@ -19,6 +19,21 @@ const FilterType = { 'Mac': 'mac' }; +const hoaxshell_listener_types = { + + "Windows CMD cURL" : "cmd-curl", + "PowerShell IEX" : "ps-iex", + "PowerShell IEX Constr Lang Mode" : "ps-iex-cm", + "PowerShell Outfile" : "ps-outfile", + "PowerShell Outfile Constr Lang Mode" : "ps-outfile-cm", + "Windows CMD cURL https" : "cmd-curl -c /your/cert.pem -k /your/key.pem", + "PowerShell IEX https" : "ps-iex -c /your/cert.pem -k /your/key.pem", + "PowerShell IEX Constr Lang Mode https" : "ps-iex-cm -c /your/cert.pem -k /your/key.pem", + "PowerShell Outfile https" : "ps-outfile -c /your/cert.pem -k /your/key.pem", + "PowerShell Outfile Constr Lang Mode https" : "ps-outfile-cm -c /your/cert.pem -k /your/key.pem" + +}; + document.querySelector("#os-options").addEventListener("change", (event) => { const selectedOS = event.target.value; rsg.setState({