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

@@ -7,7 +7,7 @@
beef.execute(function() {
try {
var msg = decodeURIComponent(beef.encode.base64.decode('<%= Base64.encode64(@msg).delete("\n") %>'));
var msg = decodeURIComponent(beef.encode.base64.decode('<%= Base64.strict_encode64(@msg) %>'));
beef.debug(msg);
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=called the beef.debug() function. Check the developer console for your debug message.');
} catch(e) {