From c4e07ff66d1b29e7eda0afc2da4f47c8a90ad811 Mon Sep 17 00:00:00 2001 From: "wade@bindshell.net" Date: Mon, 3 Jan 2011 04:39:33 +0000 Subject: [PATCH] minor update: typo git-svn-id: https://beef.googlecode.com/svn/trunk@659 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9 --- lib/server/requesterhandler.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/server/requesterhandler.rb b/lib/server/requesterhandler.rb index b448d28f1..a6630a783 100644 --- a/lib/server/requesterhandler.rb +++ b/lib/server/requesterhandler.rb @@ -33,7 +33,7 @@ module BeEF # validates that a hooked browser with the beef_hook token exists in the db zombie_db = Z.first(:session => beef_hook) || nil - raise WEBrick::HTTPStatus::BadRequest, "Invalide beef hook id: the hooked browser cannot be found in the database" if zombie_db.nil? + raise WEBrick::HTTPStatus::BadRequest, "Invalid beef hook id: the hooked browser cannot be found in the database" if zombie_db.nil? # validates that we have such a http request saved in the db http_db = H.first(:id => request_id.to_i, :zombie_id => zombie_db.id) || nil