Commit Graph

45 Commits

Author SHA1 Message Date
Brendan Coles
17f265cb83 module.rb minor code cleanup 2014-04-20 20:12:33 +10:00
Wade Alcorn
8003f1a47f Updated the copyright year to 2014 2014-01-01 16:34:15 +10:00
Wade Alcorn
fe40038441 Updated copyright year to 2013 2012-12-30 12:47:43 +10:00
Wade Alcorn
b68df3d024 Changed license header 2012-11-02 14:05:15 +10:00
antisnatchor
5c96fe2b84 changed return value on override_execute, reformatted code for the metasploit api 2012-03-15 13:32:10 +01:00
antisnatchor
c3a611d12e Implemented info/options retrieval for a specific module throught the REST API 2012-03-13 17:18:13 +01:00
antisnatchor
837c1f2db8 Modified BeEF::Module.execute to return the command_id of the persisted command, instead of just returning a boolean. Refactored usages in the code as well. 2012-03-13 12:40:28 +01:00
Christian Frichot
15932efcb3 Made some minor adjustments to 'os' key rating in core/module.rb. See issue #72 2012-02-18 09:06:46 +08:00
Wade Alcorn
13f364c372 Minor formatting changes 2012-01-17 20:59:29 +10:00
Christian Frichot
a15d8b9c9b Command Module Unit Tests - Edition 1. See issue #32 2012-01-13 17:28:30 +08:00
Wade Alcorn
06899ca267 Year updated from 2011 to 2012 2011-12-31 22:24:36 +10:00
antisnatchor
05d06bb94e Removed unuseful Mutexes, refactored all the ugly 'exception-oriented' code that was using WebRick BadRequest, added config.yaml option to enable verbose debugging logs of Thin 2011-11-19 18:02:41 +01:00
antisnatchor
2997540918 rewrote the server core and adjusted the API/classes to use Thin and Rack instead of WebRick. 2011-11-19 15:49:19 +01:00
passbe
3b72fe969c Removed incorrect logic from previous testing
git-svn-id: https://beef.googlecode.com/svn/trunk@1382 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-10-24 10:21:36 +00:00
passbe
24fe856b0c Module config max_ver now has the ability to use 'latest'
git-svn-id: https://beef.googlecode.com/svn/trunk@1381 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-10-24 10:14:01 +00:00
passbe
d1201e70a2 Corrected min_ver, max_ver bug. Fixes issue 489. Fixes issue 525.
git-svn-id: https://beef.googlecode.com/svn/trunk@1379 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-10-24 07:00:29 +00:00
buherator@gmail.com
ab1ec19a5c Changed BeEF::API::Registra to BeEF::API::Registrar
git-svn-id: https://beef.googlecode.com/svn/trunk@1358 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-10-09 15:31:52 +00:00
sussurro@happypacket.net
988e7b010e change override_execute so that it will pass the hooked browser session so we can both override functionality and add commands
git-svn-id: https://beef.googlecode.com/svn/trunk@1350 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-10-04 16:57:11 +00:00
sussurro@happypacket.net
6658eff14c fixkup for metasploit to make payloads options be dynamic again.
git-svn-id: https://beef.googlecode.com/svn/trunk@1311 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-09-26 04:00:02 +00:00
passbe
563f9dc6da Yard commented 1/3 of codebase, more to come...
git-svn-id: https://beef.googlecode.com/svn/trunk@1274 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-09-11 21:52:39 +00:00
passbe
0403ea0853 Created API override_execute() for modules. Re-wrote is_matched_params? to fix bug and for better parameter matching
git-svn-id: https://beef.googlecode.com/svn/trunk@1257 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-09-02 23:56:52 +00:00
passbe
7186b75aad Added API BeEF::Module.get_options() override. Added API.matched?() method to determine if a conditional API register is met. API methods can now return data to the core
git-svn-id: https://beef.googlecode.com/svn/trunk@1248 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-09-01 06:45:49 +00:00
passbe
d8a089a1b3 Reworked timed API system. You now must use the BeEF::API::Registra.register() to hook into timed API calls. This will speed up the framework and allow paramater matching for API hooks.
git-svn-id: https://beef.googlecode.com/svn/trunk@1235 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-08-24 09:33:22 +00:00
passbe
211ec00683 Added post_soft_load timed API call. Corrected BeEF::Module.exist function to use Class specification in configuration
git-svn-id: https://beef.googlecode.com/svn/trunk@1233 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-08-23 10:24:48 +00:00
passbe
f5e9327887 Autorun Baby! Fixes issue #375
git-svn-id: https://beef.googlecode.com/svn/trunk@1198 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-08-17 05:46:26 +00:00
passbe
2e70f86866 Added pre_execute, execute and post_execute to modules.
git-svn-id: https://beef.googlecode.com/svn/trunk@1197 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-08-17 04:04:32 +00:00
passbe
8fe714881a Module execution functionality is now decoupled from the admin_ui. See BeEF::Module.execute(). Added Hooked Browser Manager skeleton.
git-svn-id: https://beef.googlecode.com/svn/trunk@1196 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-08-17 02:17:19 +00:00
passbe
887d93697f Added basic timed API calls including: pre/post soft/hard module load (+config load). post extension load. Added name tag to all extension config files
git-svn-id: https://beef.googlecode.com/svn/trunk@1181 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-08-11 05:59:30 +00:00
passbe
b9c7528a93 Removed debug message, created too much noise
git-svn-id: https://beef.googlecode.com/svn/trunk@1121 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-07-28 01:39:42 +00:00
passbe
5b4ff61909 Final changes to convert from old super() method to new configuration system. Fixes Issue 329
git-svn-id: https://beef.googlecode.com/svn/trunk@1119 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-07-28 00:50:04 +00:00
passbe
ebf8694f52 Added BeEF::Core::Configuration.clear(). Swaped module 'target_new' back to 'target'.
git-svn-id: https://beef.googlecode.com/svn/trunk@1116 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-07-27 00:22:58 +00:00
scotty.b.brown@gmail.com
98a0f50e93 More work #329
git-svn-id: https://beef.googlecode.com/svn/trunk@1108 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-07-26 10:51:58 +00:00
passbe
b8a879915a Added module support() function
git-svn-id: https://beef.googlecode.com/svn/trunk@1107 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-07-26 07:52:36 +00:00
passbe
4959963871 Re-worked target parsing code. Current target rules are stored in target_new until BeEF::Core::Configuration.clear() can be coded.
git-svn-id: https://beef.googlecode.com/svn/trunk@1106 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-07-26 07:52:15 +00:00
scotty.b.brown@gmail.com
545c8e171c More code for #329
git-svn-id: https://beef.googlecode.com/svn/trunk@1071 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-07-19 07:35:40 +00:00
passbe
baa288b6d0 First chop at target parsing code, needs rework
git-svn-id: https://beef.googlecode.com/svn/trunk@1065 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-07-16 00:21:51 +00:00
passbe
6ca6f4981e Decoupled the module's dependency on category names to find module files. Module configuration now stores path on load
git-svn-id: https://beef.googlecode.com/svn/trunk@1063 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-07-13 09:44:39 +00:00
scotty.b.brown@gmail.com
5c3e6f1575 Adding Apache Licence Header to all files (except VERSION file)
git-svn-id: https://beef.googlecode.com/svn/trunk@1046 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-07-02 23:08:28 +00:00
passbe
bdd39209da Added sanity check to module loading + additional print_debug's for futher information if something breaks in the loading process (Fixes issue 334)
git-svn-id: https://beef.googlecode.com/svn/trunk@962 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-05-10 22:26:09 +00:00
passbe
b03d6b52e7 Fixes get_key_by_database_id
git-svn-id: https://beef.googlecode.com/svn/trunk@945 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-04-30 06:39:06 +00:00
passbe
27f408fd53 Attempted to fix to_hash problem with get_by_database_id
git-svn-id: https://beef.googlecode.com/svn/trunk@944 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-04-30 06:31:33 +00:00
passbe
47996757bc Decoupled filepaths from admin_ui module controller. (Fixes issue 322)
git-svn-id: https://beef.googlecode.com/svn/trunk@940 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-04-28 05:02:43 +00:00
passbe
18aaed3572 Abstracted extension and module loading. Also checking print_debug for console extension loading. (Fixes issue 324)
git-svn-id: https://beef.googlecode.com/svn/trunk@936 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-04-27 05:19:30 +00:00
passbe
90e0b30c78 Added is_present, is_enabled, is_loaded helper functions for Extensions / Modules
git-svn-id: https://beef.googlecode.com/svn/trunk@935 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-04-27 04:33:10 +00:00
passbe
b9818239e3 Moved dynamic loading back to loader. Added helper classes for BeEF::Module/s BeEF::Extension/s. This is to facilitate issues 319, 322, 324
git-svn-id: https://beef.googlecode.com/svn/trunk@934 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-04-27 04:14:56 +00:00