From 78b5b1ac39f8d6dbbf47a0582be7c82206f583e3 Mon Sep 17 00:00:00 2001 From: antisnatchor Date: Mon, 9 May 2011 19:40:56 +0000 Subject: [PATCH] (Fixes issue 289, 292) has_run is not anymore a field of the command db table. changed accordingly the updated field name. git-svn-id: https://beef.googlecode.com/svn/trunk@959 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9 --- extensions/admin_ui/controllers/modules/modules.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/admin_ui/controllers/modules/modules.rb b/extensions/admin_ui/controllers/modules/modules.rb index 3730e9bb7..fe6721602 100644 --- a/extensions/admin_ui/controllers/modules/modules.rb +++ b/extensions/admin_ui/controllers/modules/modules.rb @@ -433,7 +433,7 @@ class Modules < BeEF::Extension::AdminUI::HttpController raise WEBrick::HTTPStatus::BadRequest, "nonce is nil" if nonce.nil? raise WEBrick::HTTPStatus::BadRequest, "nonce incorrect" if @session.get_nonce != nonce - command.has_run = false#TODO: there's a bug here. Need to recode this function. + command.instructions_sent = false command.save @body = '{success : true}'