Commit Graph

22 Commits

Author SHA1 Message Date
Wade Alcorn
06899ca267 Year updated from 2011 to 2012 2011-12-31 22:24:36 +10:00
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
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
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@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
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
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
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
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
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
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
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
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