(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:
@@ -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}'
|
||||
|
||||
Reference in New Issue
Block a user