Commit Graph

63 Commits

Author SHA1 Message Date
bcoles@gmail.com
73ae24b029 Added Detect Cookie Support to initialization and details tab
M	extensions/admin_ui/controllers/modules/modules.rb
M	extensions/initialization/handler.rb
M	core/main/client/browser.js

Example output on details tab:

	Session Cookies: Yes
	Persistent Cookies: Yes

Fixes Issue 380



git-svn-id: https://beef.googlecode.com/svn/trunk@1122 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-07-28 05:06:53 +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
passbe
72ded4afba Added extension path when loading extension yaml files
git-svn-id: https://beef.googlecode.com/svn/trunk@1115 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-07-27 00:02:11 +00:00
antisnatchor
a5a9e45076 Issue 384: First draft of XssRays (core xssrays JS)
git-svn-id: https://beef.googlecode.com/svn/trunk@1114 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-07-26 18:36:30 +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
antisnatchor
77f9f4f542 (Fixes issue 391) Fixed JSON undefined error that was preventing browser hooking on IE < 8
git-svn-id: https://beef.googlecode.com/svn/trunk@1080 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-07-21 13:50:12 +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
bcoles@gmail.com
a9d983b898 Added Browser Type to initialization and default tab
M extensions/admin_ui/controllers/modules/modules.rb
	M extensions/initialization/handler.rb
	M core/main/client/browser.js 

Example output on details tab:

	Browser Type: {"FF5":true, "FF":true}

Fixes Issue 377


git-svn-id: https://beef.googlecode.com/svn/trunk@1070 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-07-18 22:09:26 +00:00
bcoles@gmail.com
569fec02cd Added Detect Scripts Support to initialization and details tab
M extensions/admin_ui/controllers/modules/modules.rb
M extensions/initialization/handler.rb
M core/main/client/browser.js 

Example output on details tab:

Java Enabled: No
VBScript Enabled: No
Has Flash: Yes
Has GoogleGears: No

Fixes Issue 383 # https://code.google.com/p/beef/issues/detail?id=383



git-svn-id: https://beef.googlecode.com/svn/trunk@1069 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-07-18 04:16:54 +00:00
bcoles@gmail.com
6b00485b97 Added Screen Details to initialization and default tab
M      extensions/admin_ui/controllers/modules/modules.rb
M      extensions/initialization/handler.rb
M      core/main/client/browser.js

Example output on details tab:

Screen Params: {"width"=>1024, "height"=>768, "colordepth"==>24}
Window Size: {"width"=>1024, "height"=>640}



git-svn-id: https://beef.googlecode.com/svn/trunk@1067 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-07-16 07:14:23 +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
antisnatchor
2d5360a870 Issue 384: initial commit of Gareth XssRays 0.5.5
git-svn-id: https://beef.googlecode.com/svn/trunk@1064 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-07-14 09:10:25 +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
antisnatchor
2ee589af14 (Fixes issue 365) Fixed browser plugin regex when using Ruby 1.9.2 and UTF-8 strings (like Microsoft® DRM)
git-svn-id: https://beef.googlecode.com/svn/trunk@1059 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-07-11 13:33:43 +00:00
antisnatchor
9780afa68b (Fixes issue 370) Patched WebRick::HttpRequest to overwrite the URI Parser UNRESERVED regex: this prevents BAD URI errors when sending attack vector chars. Added config file for the requester extension.
git-svn-id: https://beef.googlecode.com/svn/trunk@1055 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-07-09 22:31:13 +00:00
antisnatchor
fe5b318792 (Fixes issue 359) Proxy/Requester now forward back original XHR response headers (stripping some of them lik encoding and cache related). Added also a temporary fix for issue 368 (prevent saving raw image data if db = mysql).
git-svn-id: https://beef.googlecode.com/svn/trunk@1051 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-07-09 22:30:44 +00:00
antisnatchor
1386e8efc3 (Fixes issue 366) Reducing chop size to prevent ERROR WEBrick::HTTPStatus::RequestURITooLarge
git-svn-id: https://beef.googlecode.com/svn/trunk@1049 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-07-09 22:30:29 +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
xntrik
c720934421 fixes issue 341
git-svn-id: https://beef.googlecode.com/svn/trunk@1036 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-06-28 09:45:40 +00:00
antisnatchor
6d19b04f60 Using _ instead of . for DB table names: this convention ([a-z0-9_]) follow best-practices, and in this way there is no need to use a backtick when writing sql queries in MySQL (or in the future PostreSQL)
git-svn-id: https://beef.googlecode.com/svn/trunk@1033 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-06-27 14:26:44 +00:00
scotty.b.brown@gmail.com
27f9857d31 (Fixes issue 350) There is no discernible difference between FF4 and FF5 This may prove similar to Chrome now FF are on a shorter release cycle.
As such the difference between FF4 and FF5 has had to fall back to UA string.

git-svn-id: https://beef.googlecode.com/svn/trunk@1032 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-06-27 11:53:39 +00:00
scotty.b.brown@gmail.com
b96184a0cf FF5 is no longer detected as FF3.6
git-svn-id: https://beef.googlecode.com/svn/trunk@1031 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-06-27 11:09:17 +00:00
antisnatchor
6af4f673d3 Proxy and Requester enhancements. Proxy got a good performance improvement, it's now multi-thread, able to handle errors, can be used with a normal browser. Requester core (ruby/js) has been enhanced too: db model, js logic and parsing code. Many previous bugs in different parts have been corrected.
git-svn-id: https://beef.googlecode.com/svn/trunk@1027 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-06-26 18:03:53 +00:00
passbe
a8c833fcfd Removed inherit parameter, think older versions of ruby dont support it
git-svn-id: https://beef.googlecode.com/svn/trunk@1026 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-06-26 08:45:07 +00:00
passbe
4f467ba6fd Created API Security Path mapping procedures. Fixes issue 340
git-svn-id: https://beef.googlecode.com/svn/trunk@1024 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-06-26 01:29:11 +00:00
passbe
62502cf124 Corrected print_debug to convert item to string
git-svn-id: https://beef.googlecode.com/svn/trunk@1023 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-06-26 01:18:53 +00:00
antisnatchor
10d8a1dc6d (Fixes issue 354) fixed handling of raw unicode data in browsers that supports window.btoa and window.atob
git-svn-id: https://beef.googlecode.com/svn/trunk@1020 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-06-25 17:11:07 +00:00
scotty.b.brown@gmail.com
2f681c51e2 Knew i would miss one.
git-svn-id: https://beef.googlecode.com/svn/trunk@999 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-06-18 23:44:24 +00:00
scotty.b.brown@gmail.com
49fc521a16 (Fixes issue 349) Added detection of Chrome 12
git-svn-id: https://beef.googlecode.com/svn/trunk@998 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-06-18 23:38:16 +00:00
xntrik
dc36f53e04 (Fixes issue 144) Update a Zombies IP on change and log the event
git-svn-id: https://beef.googlecode.com/svn/trunk@982 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-05-20 13:14:12 +00:00
passbe
47876e2c90 Stopped storing data type in result table. This will remove the code execution vuln with the renderers engine
git-svn-id: https://beef.googlecode.com/svn/trunk@970 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-05-12 23:47:49 +00:00
wade@bindshell.net
27c32f9d28 rolling back
git-svn-id: https://beef.googlecode.com/svn/trunk@968 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-05-12 02:10:01 +00:00
passbe
129a9caff6 Added first revision of our renderers. Needs a lot more work, but will start producing nicer output.
git-svn-id: https://beef.googlecode.com/svn/trunk@967 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-05-11 23:57:05 +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
antisnatchor
699a83f6c1 (Fixes issue 335): the new approach of loading command modules from yaml config files (rev.940) cannot be used with dynamic modules. Now MSF integration works again.
git-svn-id: https://beef.googlecode.com/svn/trunk@954 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-05-05 12:56:14 +00:00
antisnatchor
eb42e7cc5c Added some comments, really relevant issuing cross-domain XHR
git-svn-id: https://beef.googlecode.com/svn/trunk@950 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-05-02 18:54:58 +00:00
antisnatchor
91bfc090e9 Updated jQuery to latest stable version 1.5.2
git-svn-id: https://beef.googlecode.com/svn/trunk@949 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-05-02 18:54:00 +00:00
antisnatchor
f8f623a5e8 Fixes crossdomain request detection in case BeEF is running on port 80 (document.location.port is then empty)
git-svn-id: https://beef.googlecode.com/svn/trunk@948 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-05-02 14:51:54 +00:00
antisnatchor
b30967aafe Fixes wrong check for crossdomain request (added different port check) in beef.net.request JS.
git-svn-id: https://beef.googlecode.com/svn/trunk@946 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-05-02 09:52:24 +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
964a42c91e Fixed differences in returns from ruby 1.8 to 1.9, which was causing errors when loading the admin_ui
git-svn-id: https://beef.googlecode.com/svn/trunk@943 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-04-30 05:54:23 +00:00
scotty.b.brown@gmail.com
7b5a947ed9 Adding Chrome 11 detection (released today)
git-svn-id: https://beef.googlecode.com/svn/trunk@941 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-04-28 05:20:44 +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
88ce370792 Changed reliance upon filename to the configuration system. This works towards fixing issue #322
git-svn-id: https://beef.googlecode.com/svn/trunk@937 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-04-28 01:12:58 +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