(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
This commit is contained in:
antisnatchor
2011-05-09 19:40:56 +00:00
parent 57ffbcacc4
commit 78b5b1ac39

View File

@@ -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}'