From 6ff34953d9554c8218642052ea93e811b801c424 Mon Sep 17 00:00:00 2001 From: antisnatchor Date: Mon, 30 Apr 2012 10:14:59 +0100 Subject: [PATCH] Added Leffe beer can handler. commented for now. --- core/main/rest/handlers/hookedbrowsers.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/main/rest/handlers/hookedbrowsers.rb b/core/main/rest/handlers/hookedbrowsers.rb index e3e4eabd0..6976dda05 100644 --- a/core/main/rest/handlers/hookedbrowsers.rb +++ b/core/main/rest/handlers/hookedbrowsers.rb @@ -30,6 +30,11 @@ module BeEF 'Expires' => '0' end + # @note Return a can of Leffe to the thirsty Bovine Security Team member. AthCon2012 joke /antisnatchor/ + #get "/to/a/pub" + # "BeER please" + #end + # @note Get online and offline hooked browsers details (like name, version, os, ip, port, ...) get '/' do online_hooks = hb_to_json(BeEF::Core::Models::HookedBrowser.all(:lastseen.gte => (Time.new.to_i - 15)))