Merge pull request #77 from samuelzurowski/main

[Bug]Removed Encoding for Bind Shells/MSFVenom Payloads
This commit is contained in:
Ryan Montgomery 2022-01-21 09:12:56 -05:00 committed by GitHub
commit ec943d17e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,13 +27,14 @@
document.querySelector("#reverse-tab").addEventListener("click", () => { document.querySelector("#reverse-tab").addEventListener("click", () => {
rsg.setState({ rsg.setState({
commandType: CommandType.ReverseShell commandType: CommandType.ReverseShell,
}); });
}) })
document.querySelector("#bind-tab").addEventListener("click", () => { document.querySelector("#bind-tab").addEventListener("click", () => {
rsg.setState({ rsg.setState({
commandType: CommandType.BindShell commandType: CommandType.BindShell,
encoding: "None"
}); });
}) })
@ -41,13 +42,15 @@
document.querySelector("#bind-shell-selection").innerHTML = ""; document.querySelector("#bind-shell-selection").innerHTML = "";
rsg.setState({ rsg.setState({
commandType: CommandType.BindShell commandType: CommandType.BindShell
}); });
}) })
document.querySelector("#msfvenom-tab").addEventListener("click", () => { document.querySelector("#msfvenom-tab").addEventListener("click", () => {
document.querySelector("#msfvenom-selection").innerHTML = ""; document.querySelector("#msfvenom-selection").innerHTML = "";
rsg.setState({ rsg.setState({
commandType: CommandType.MSFVenom commandType: CommandType.MSFVenom,
encoding: "None"
}); });
}); });