Replace gsub quotes with base64 encoding

This commit is contained in:
Brendan Coles
2017-08-11 05:44:32 +00:00
parent 50a97d3e36
commit f545b3631b
16 changed files with 16 additions and 16 deletions

View File

@@ -6,7 +6,7 @@
beef.execute(function() {
var cmd = '<%= @cmd.gsub(/'/, "\\'") %>';
var cmd = beef.encode.base64.decode('<%= Base64.strict_encode64(@cmd) %>');
var result = "command was not sent";
try {