Commit Graph

27 Commits

Author SHA1 Message Date
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
120e36d4b4 Added BeEF version to panel header and updated some links from
code.google.com to github.com
2011-12-11 20:30:09 +10:30
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
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
18d4b642fe replaced WebRick HttpUtils in requester filters 2011-11-22 10:12:26 +01:00
antisnatchor
9618f484fd code beautify. Also removed the tolerant parser old patch code: it's not needed anymore 2011-11-22 09:58:04 +01:00
antisnatchor
5322570346 rewrote the requester core to parse raw HTTP requests from the DB (requester_parse_db_request): don't use WebRick utils anymore 2011-11-22 09:53:00 +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
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
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
antisnatchor
b4cb58346e Fixed proxy: the new filters where causing problems. Removed all of them except the method and version checks.
git-svn-id: https://beef.googlecode.com/svn/trunk@1240 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-08-29 09:18:24 +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
bcoles@gmail.com
21d5164d4d Response Headers is now the default accordion panel displayed (rather
than the Request panel) when viewing requester HTTP response details

The requester history panel now automatically refreshes upon display

Changed processed status from 'false' to 'waiting' and 'true' to 
'complete' in the requester

Fixes Issue 459



git-svn-id: https://beef.googlecode.com/svn/trunk@1226 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-08-21 03:29:42 +00:00
bcoles@gmail.com
72c6bf87b0 Added port column to Requester History tab
git-svn-id: https://beef.googlecode.com/svn/trunk@1214 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-08-19 14:49:43 +00:00
bcoles@gmail.com
b1de14dcf1 Added HEAD, OPTIONS, PUT and DELETE methods
Fixes issue 356

Added HTTP request validation to proxy extension

	Fixes issue 429



git-svn-id: https://beef.googlecode.com/svn/trunk@1212 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-08-19 09:24:31 +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
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
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
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
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
antisnatchor
3b79c677aa Issue 355: now query parameters are correctly forwarded by the proxy, as well as POST requests with body parameters
git-svn-id: https://beef.googlecode.com/svn/trunk@1034 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-06-27 14:31:34 +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
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
wade@bindshell.net
bf7b080396 Unused mutexs removed.
git-svn-id: https://beef.googlecode.com/svn/trunk@913 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-04-20 12:27:03 +00:00
scotty.b.brown@gmail.com
35f62714b1 Moving nextgen from a branch to the trunk!!!
git-svn-id: https://beef.googlecode.com/svn/trunk@908 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-04-20 07:54:56 +00:00