From 6756e47d4072d93fc0ffa3a08c8e1274248254b6 Mon Sep 17 00:00:00 2001 From: "wade@bindshell.net" Date: Sun, 14 Nov 2010 16:30:49 +0000 Subject: [PATCH] http requests change to POST git-svn-id: https://beef.googlecode.com/svn/trunk@522 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9 --- public/javascript/ui/panel/common.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/public/javascript/ui/panel/common.js b/public/javascript/ui/panel/common.js index b137c05e4..08aae357f 100644 --- a/public/javascript/ui/panel/common.js +++ b/public/javascript/ui/panel/common.js @@ -92,7 +92,9 @@ function genExisingExploitPanel(panel, command_id, zombie, sb) { panel.removeAll(); Ext.Ajax.request({ - url:'/ui/modules/select/command.json?command_id='+command_id, + url: '/ui/modules/select/command.json', + method: 'POST', + params: 'command_id=' + command_id, loadMask: true, success: function(resp) { var xhr = Ext.decode(resp.responseText); @@ -251,7 +253,9 @@ function genNewExploitPanel(panel, command_module_id, command_module_name, zombi } else { Ext.Ajax.request({ loadMask: true, - url: '/ui/modules/select/commandmodule.json?command_module_id='+command_module_id, + url: '/ui/modules/select/commandmodule.json', + method: 'POST', + params: 'command_module_id=' + command_module_id, success: function(resp) { var module = Ext.decode(resp.responseText);