Commit Graph

99 Commits

Author SHA1 Message Date
bcoles@gmail.com
5ea6dd9fd2 Added Firefox 8 detection
In preperation for Firefox 8 (the beta is public)



git-svn-id: https://beef.googlecode.com/svn/trunk@1385 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-10-30 12:07:17 +00:00
antisnatchor
5f59e198d1 Added Chrome 15 detection
git-svn-id: https://beef.googlecode.com/svn/trunk@1384 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-10-29 14:52:59 +00:00
passbe
a1bb393407 Configuration now gracefully fails if there is a problem with *.yaml
git-svn-id: https://beef.googlecode.com/svn/trunk@1380 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-10-24 09:54:00 +00:00
avlidienbrunn@gmail.com
f3cd6aaeb5 (Fixes issue 450) Ported MITB code from h.ackack.net!
git-svn-id: https://beef.googlecode.com/svn/trunk@1371 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-10-19 08:06:36 +00:00
bcoles@gmail.com
dd5b1f5a81 Added platform and ActiveX detection to the browser hook initialization
o Platform often provides the architecture (ie, 32bit) and can 
	be useful in identifying devices / smart phones

	o ActiveX detection was added for obscure browsers (ie, such as 
	software using an embedded browsing engine built on the IE COM)
	Normally ActiveX would only be detected on a hooked IE browser.

Moved the `is_valid_yes_no' filter from browser.rb to base.rb



git-svn-id: https://beef.googlecode.com/svn/trunk@1368 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-10-16 20:56:23 +00:00
bcoles@gmail.com
d0f332643e Separated hostname and hostport
git-svn-id: https://beef.googlecode.com/svn/trunk@1366 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-10-16 14:25:47 +00:00
buherator@gmail.com
ed866886f7 Storing port of HookedBrowser, fixing value of HookedBrowser.domain
git-svn-id: https://beef.googlecode.com/svn/trunk@1365 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-10-15 22:04:08 +00:00
passbe
65b8652f26 Finished commenting BeEF core. From this point on each developer should be commenting their own core changes
git-svn-id: https://beef.googlecode.com/svn/trunk@1362 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-10-15 03:59:24 +00:00
antisnatchor
e22332e1f8 (Fixes issue 467) rewrote from scratch the XssRays handler, refactored JS and Ruby code, improved the whole thing.
git-svn-id: https://beef.googlecode.com/svn/trunk@1361 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-10-12 14:56:50 +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
bcoles@gmail.com
f7bca3c192 Added Rewrite HREFs (HTTPS) module
This module will rewrite all the href attributes of HTTPS links to use 
HTTP instead of HTTPS. Links relative to the web root are not rewritten.

Added beef.dom.rewriteLinksProtocol(old_protocol, new_protocol, selector)



git-svn-id: https://beef.googlecode.com/svn/trunk@1317 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-09-29 09:55:09 +00:00
bcoles@gmail.com
87e5bca2fb Added match for Firefox 7 in preperation for impending release
git-svn-id: https://beef.googlecode.com/svn/trunk@1313 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-09-28 06:48:27 +00:00
antisnatchor
75b425e5e6 Added detection for Chrome 14
git-svn-id: https://beef.googlecode.com/svn/trunk@1299 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-09-21 08:29:05 +00:00
bcoles@gmail.com
9127bbeb88 Patched browser detection
Revision 1285 broke browser hooking for Opera, Chrome and Safari.

This commit should fix this issue. Also:

Fixes issue 514
Fixes issue 503



git-svn-id: https://beef.googlecode.com/svn/trunk@1291 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-09-16 06:21:13 +00:00
abraham.aranguren@gmail.com
2b095f2cf0 Fix for Issue 503: Firefox is identified as Safari:
Under certain configurations Firefox was incorrectly being detected as Safari, this happened because !!window.globalStorage returns false on at least some Firefox 5 and Firefox 6 browser configurations such as mine.

git-svn-id: https://beef.googlecode.com/svn/trunk@1285 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-09-13 21:39:14 +00:00
antisnatchor@gmail.com
d33e9f88b5 (Fixes issue 456) reverted back to jQuery 1.5.2, moved port status checking code in 'complete' handler
git-svn-id: https://beef.googlecode.com/svn/trunk@1284 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-09-13 18:50:12 +00:00
wade@bindshell.net
eef4f5f4f0 typo fixed
git-svn-id: https://beef.googlecode.com/svn/trunk@1279 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-09-12 17:53:24 +00:00
bcoles@gmail.com
ee6dbe3bee Updated OS detection
o Added icons

	o Removed duplicate entry for Win98



git-svn-id: https://beef.googlecode.com/svn/trunk@1278 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-09-12 14:54:18 +00:00
bcoles@gmail.com
c81bdf75af Updated Safari browser version detection
git-svn-id: https://beef.googlecode.com/svn/trunk@1277 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-09-12 12:47:29 +00:00
bcoles@gmail.com
c596a5c49a Added browser version detection for Safari 5.1
git-svn-id: https://beef.googlecode.com/svn/trunk@1276 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-09-12 10:45:12 +00:00
antisnatchor@gmail.com
b3b869d36f (Fixes issue 498) added exact version detection for all FF browser plugins. For other browser see issue comments in the tracker.
git-svn-id: https://beef.googlecode.com/svn/trunk@1273 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-09-11 15:27:31 +00:00
antisnatchor@gmail.com
8ab109bc50 (Fixes issue 499) added websocket detection for FF6+
git-svn-id: https://beef.googlecode.com/svn/trunk@1272 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-09-11 14:08:28 +00:00
bcoles@gmail.com
515dbefacf Fixes issue 483
git-svn-id: https://beef.googlecode.com/svn/trunk@1263 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-09-08 11:39:18 +00:00
bcoles@gmail.com
ca4e2d18f5 Added Android OS detection from useragent
git-svn-id: https://beef.googlecode.com/svn/trunk@1254 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-09-02 11:35:20 +00:00
bcoles@gmail.com
203173b621 Added BlackBerry and Nokia (Symbian/Maemo) OS detection from useragent
git-svn-id: https://beef.googlecode.com/svn/trunk@1253 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-09-02 10:56:41 +00:00
antisnatchor
3f82b0315a (Fixes issue 427): fixed sending back PoC for POST injection with xssrays.
git-svn-id: https://beef.googlecode.com/svn/trunk@1251 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-09-02 10:18:48 +00:00
antisnatchor
10d8edb5fd <xssrays> prevent printing console.log messages if the hooked browser is IE
git-svn-id: https://beef.googlecode.com/svn/trunk@1250 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-09-02 09:26:46 +00:00
antisnatchor
5fb6334654 (Fixes issue 405): added attack vector browser checks using the beef.browser API. If the vector is marked as working with only IE, if the browser is FF the attack will be skipped.
git-svn-id: https://beef.googlecode.com/svn/trunk@1249 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-09-02 09:21:31 +00:00
antisnatchor
f228138fb2 <xssrays> small code cleanup and comments added
git-svn-id: https://beef.googlecode.com/svn/trunk@1247 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-08-31 11:11:42 +00:00
antisnatchor
4fc61d4c47 (Fixes issue 403): added handler: "xssrays" to xssrays.js. This is why beef.net.send was never called.
git-svn-id: https://beef.googlecode.com/svn/trunk@1246 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-08-31 10:00:22 +00:00
antisnatchor
59bfab48a3 (Fixes issue 406): when checking for URI path Xss, remove the last / from the url in case there is one. It will be added later.
git-svn-id: https://beef.googlecode.com/svn/trunk@1245 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-08-31 08:43:57 +00:00
antisnatchor
cfe0b3e87b <xssrays> removed browser checks and fixed unreferenced variable sameDomain (now is crossDomain)
git-svn-id: https://beef.googlecode.com/svn/trunk@1244 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-08-31 08:24:17 +00:00
bcoles@gmail.com
7a4b07ef2e Added "Has WebSockets" to initialization / details tab
git-svn-id: https://beef.googlecode.com/svn/trunk@1237 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-08-26 13:28:53 +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
c5e36ec785 Changed DB Migration to work with config instead of file paths
git-svn-id: https://beef.googlecode.com/svn/trunk@1231 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-08-23 10:01:48 +00:00
passbe
efec6c65ca Changed extension and module path to be relative. This was an oversight on my behalf, if the full root path is saved into the db and the beef location is moved, beef will fail to work
git-svn-id: https://beef.googlecode.com/svn/trunk@1229 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-08-23 09:57:46 +00:00
bcoles@gmail.com
c3bd1e5fa7 Added "not http" to port_status as part of beef.net.request
Status "open" and "closed" were added in revision 1177

Fixes issue 286



git-svn-id: https://beef.googlecode.com/svn/trunk@1215 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-08-19 15:28:51 +00:00
a.m.saafan@gmail.com
a1acb6e397 Added support for encoding and storing requests of type image. Fixes issue 368.
git-svn-id: https://beef.googlecode.com/svn/trunk@1200 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-08-17 14:19:25 +00:00
bcoles@gmail.com
ff63d46337 Added Firefox 6 to core/main/client/browser.js
git-svn-id: https://beef.googlecode.com/svn/trunk@1199 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-08-17 08:57:38 +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
0067a9c088 Cleaned up pre_http_start + mount_handlers. Added direct call API options for mounting and unmounting http handlers
git-svn-id: https://beef.googlecode.com/svn/trunk@1184 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-08-12 00:13:36 +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
wade@bindshell.net
3167722af2 Fixes issue 436. IE can now be hooked cross domain. Loading script is used instead of ajax now.
git-svn-id: https://beef.googlecode.com/svn/trunk@1180 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-08-11 01:52:45 +00:00
wade@bindshell.net
324449eb0f fixed bug where IE wasn't send the HOOKSESSION cross domain/port
git-svn-id: https://beef.googlecode.com/svn/trunk@1179 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-08-11 01:52:13 +00:00
bcoles@gmail.com
22941a51b4 Augmented beef.net.request to support port_status
Only "open" and "closed" are supported currently

Part of issue 286



git-svn-id: https://beef.googlecode.com/svn/trunk@1177 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-08-10 09:47:01 +00:00
scotty.b.brown@gmail.com
df1565883b (Fixes issue 433)
git-svn-id: https://beef.googlecode.com/svn/trunk@1173 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-08-09 09:39:00 +00:00
passbe
3b33f0977d Cleaning up API. Fixes Issue 372
git-svn-id: https://beef.googlecode.com/svn/trunk@1171 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-08-08 10:56:24 +00:00
antisnatchor
922e72d2fe Issue 384: xssrays core code cleanup, refactoring and small bugfix (finishing the scan if stack.length=0)
git-svn-id: https://beef.googlecode.com/svn/trunk@1165 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-08-03 12:22:56 +00:00
antisnatchor
fca36abfdc Issue 384: xssrays core code cleanup, added support for configurable crossDomain, debug and cleanTimeout settings
git-svn-id: https://beef.googlecode.com/svn/trunk@1163 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-08-03 11:56:23 +00:00