diff --git a/modules/misc/invisible_iframe/command.js b/modules/misc/invisible_iframe/command.js index 3ae74f09d..6c24333d8 100644 --- a/modules/misc/invisible_iframe/command.js +++ b/modules/misc/invisible_iframe/command.js @@ -6,7 +6,7 @@ beef.execute(function() { - var target = "<%= @target %>"; + var target = decodeURIComponent(beef.encode.base64.decode('<%= Base64.strict_encode64(@target) %>')); var iframe_<%= @command_id %> = beef.dom.createInvisibleIframe(); iframe_<%= @command_id %>.setAttribute('src', target);