Commit Graph

197 Commits

Author SHA1 Message Date
unknown
dbd6baa7b0 Temporary fix to prevent hook error on Safari. I will implement a final fix tomorrow. 2012-03-07 16:19:06 +01:00
antisnatchor
8c3afcf2b9 Minor changes related to Java detection with the unsigned applet: if the browser is Chrome, we simply rely on window.navigator. 2012-03-06 19:56:58 +01:00
Keith Lee
cc9756cf59 Fix for issues 567 and also remove multiple calls to beef.browser.hasJava() from /beef/core/main/client/net/local.js 2012-03-07 01:46:51 +08:00
Keith Lee
97672966df Fix for issues 567 and also remove multiple calls to beef.browser.hasJava() from /beef/core/main/client/net/local.js 2012-03-07 01:41:27 +08:00
Keith Lee
95f7e92011 Changes to command module and get_physical location so that @datastore['cid'] , @datastore['results'] and @datastore['beefhook'] can be called from the modules 2012-03-05 03:40:46 +08:00
antisnatchor
e9a6049e58 Fixes issue 621: Added 2 new command line options. Now it's psosible to specify a different config.yaml file. Also changed the core load order, adding a new bootstrap module. 2012-03-04 14:55:03 +01:00
Wade Alcorn
275bbfaad2 Updates to test jenkins 2012-02-26 21:35:03 +10:00
Wade Alcorn
ec48e2647f Minor update to trigger test server 2012-02-21 06:08:15 +10:00
Mike Haworth
fd15c108a2 Merge branch 'master' of github.com:beefproject/beef 2012-02-18 14:17:34 +13:00
Mike Haworth
5e138395d4 Partial fix for issue #100, now detects build version of flash 2012-02-18 14:17:12 +13: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
antisnatchor
5bc6745e03 Fixed issue 66: base64'ed the iframe src in case of Chrome/Safari to bypass the webkit anti-XSS filter 2012-02-15 16:01:46 +01:00
antisnatchor
58f2b4f7a1 Added detection of Chrome 17 2012-02-15 16:01:45 +01:00
Christian Frichot
4a92d3174c Removed extended_in_modules code. See Issue #147 2012-02-15 16:01:45 +01:00
Wade Alcorn
1d7ad568d2 Minor formatting update 2012-02-15 16:01:44 +01:00
antisnatchor
1d74d7eeab Fixed a serious bug in beef.net.request when sending cross-domain POST data. jQuery is automatically changing the method to GET if the dataType (that was hardcoded in our code) is set to 'script'. 2012-02-15 16:00:38 +01:00
Wade Alcorn
9131a5d65c Formatting fix to test jenkins. 2012-01-22 09:56:46 +10:00
Wade Alcorn
13f364c372 Minor formatting changes 2012-01-17 20:59:29 +10:00
Christian Frichot
bd09e1ffdb Shifted my previous commit into this new code (uh conflicts) and changed bundle to bundle install? 2012-01-13 17:44:58 +08:00
Christian Frichot
a15d8b9c9b Command Module Unit Tests - Edition 1. See issue #32 2012-01-13 17:28:30 +08:00
Wade Alcorn
76fdb6421c The framework gracefully exits if the port is in use.
Fixes issue #555
https://github.com/beefproject/beef/issues/555
2012-01-11 21:56:17 +10:00
bcoles
a6986e3960 Added detection for Chrome 16, updated Chrome Extensions modules and
split the Details tab "Browser Hook Initialization" into "Hooked Page",
"Browser" and "Host"
2012-01-04 18:52:34 +10:30
Wade Alcorn
06899ca267 Year updated from 2011 to 2012 2011-12-31 22:24:36 +10:00
Christian Frichot
d2f4fddc34 Gem management is now handled by Bundler - updated README and install to advise. Eventually we can remove the install script 2011-12-31 15:33:32 +08:00
bcoles
2439c9d61c Added Page URI to browser hook initialization details
Fixes issue 543
2011-12-28 08:47:07 +10:30
bcoles
33289bc023 Fixed bug in cross-domain request detection
Same-domain requests on a non-standard HTTP port were incorrectly
identified as cross-domain requests
2011-12-27 17:56:18 +10:30
bcoles
74ec478449 Added allow_cross_domain to the request object
By default all requests use allow_cross_domain = "true"

The Proxy component uses allow_cross_domain = "false"

The Forge Request component uses allow_cross_domain = "true"

Fixes issue 87
2011-12-25 17:37:32 +10:30
bcoles
4543d60570 Added allowCrossDomain functionality to beef.net.requester.send 2011-12-24 13:37:14 +10:30
bcoles
61a34c1c60 Decoupled beef.net.request and beef.net.proxyrequest
This is part of issue 87
2011-12-24 04:21:45 +10:30
bcoles
f2d4592941 Added DNS Tunnel first draft 2011-12-23 08:24:10 +10:30
bcoles
6ff92f48e0 Added document.referrer to browser hook initialization and tidied some code 2011-12-22 02:43:12 +10:30
bcoles
2e9ad8b9dc More tidying of requester and proxy in preperation for unit tests 2011-12-21 06:09:30 +10:30
bcoles
3ee52b82c0 Part of issue 87, issue 63, issue 29, issue 30
In preperation for creating requester and proxy unit tests:

  o Tidied up some of the requester and proxy
  o Partially de-coupled requester from proxy
  o Fixed minor bugs:
    o is_valid_uri was not implemented correctly
    o http scheme validation had "http" instead of "https"
2011-12-20 02:47:50 +10:30
bcoles
ec7d3134aa Updated browser detection in hook initialization
Future proofed browser version detection in preperation for double
digit major version numbers

Updated flash detection in Internet Explorer for Flash 11.x
2011-12-12 00:17:15 +10:30
bcoles
a49d1351e7 Added check for document.documentMode so Internet Explorer 8 and 9 are
no longer detected as Internet Explorer 7 when operating in compatibility mode.

Fixes issue 589
2011-12-08 22:34:46 +10:30
bcoles
2ccd421768 Increased max valid user-agent string length from 200 to 300 in
BeEF::Filters.is_valid_browserstring(str) in core/filters/browser.rb

IE with a few plugins has a user-agent length of ~200
2011-12-07 20:54:23 +10:30
Christian Frichot
921cf10e55 Migration no longer re-adds existing modules to the database. You can now see previous results after you stop/start BeEF 2011-11-28 07:27:49 +08:00
Ben Passmore
e76909cd4a Added very basic threading to the Network stack. Fixes issue 315. 2011-11-25 20:43:50 +10:00
Christian Frichot
9c7bc0ea51 Removed core dependancy on librex - installer advises, but doesn't install. Beef does NOT require librex, unless you actually enable the console.shell extension 2011-11-24 22:06:21 +08:00
antisnatchor
c37db1e364 (Fixes issue 486): now using the requester (so also the tunneling proxy) you can correctly send POST requests 2011-11-23 17:07:55 +01:00
antisnatchor
4174e9cd5e fixed lame JS error in net.js 2011-11-22 16:15:20 +01:00
antisnatchor
0866b0a8e1 bugfix on the requester, small code change in net.js (optimized cross_domain checks, added check when URI contains schema/domain as well) 2011-11-22 11:18:55 +01:00
antisnatchor
4c1ed2ee2e completely removed WebRick dependency and references in the code!! fuck yeah 2011-11-22 10:20:44 +01:00
antisnatchor
e4cecc27df renabled commented-out Mutex in server initialization. Without this mutex the tunneling proxy cannot start. 2011-11-21 16:45:09 +01:00
Wade
82865f6ffa popup blocker detection added 2011-11-21 17:15:39 +10:00
Wade
48c7123639 Error message updated (Fixes issue 487). 2011-11-21 16:14:33 +10:00
Wade
3f94c72777 Unneeded comments removed 2011-11-21 15:42:38 +10:00
Wade
5045723cf1 Reduce the Thin logging level to match the value set in the config 2011-11-21 15:41:41 +10:00
antisnatchor
88bb429d04 adapted DynamicReconstruction Tests to the new Thin server. Rake => all tests passed 2011-11-19 20:10:10 +01: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