Commit Graph

31 Commits

Author SHA1 Message Date
Brendan Coles 83e1f596de unless 2016-02-06 08:04:29 +00:00
Brendan Coles 485049f4c8 Version check to ensure BeEF is running Ruby 2.0+ 2016-01-29 16:25:16 +00:00
Wade Alcorn ce01d9fa46 updated copyright year 2015-12-30 08:11:57 +10:00
Brendan Coles 2b19c2dd13 Add Proxy integration tests - Fix #30 2015-08-22 10:56:13 +00:00
Christian Frichot 13593990e5 WebRTC extension FF fix
Thanks to updates in modern FFs handling of WebRTC
the webrtcadapter wrapper had to be updated.
To ensure this would be picked up, also added
WebRTC REST integration test cases.
The tests only run if the extension is enabled,
which is still OFF by default.

See Issue #1134 and #1083
2015-07-08 15:13:21 +08:00
Brendan Coles c9c9bfa6ee Decrease BeefTest.login sleep to 10 seconds 2015-06-27 17:51:54 +00:00
Brendan Coles 1aaf529fdd Add TC_NetworkRest test cases 2015-06-24 07:35:20 +00:00
Brendan Coles 68c1f87c42 set VICTIM_DOMAIN to localhost for tests
The VICTIM_DOMAIN and ATTACK_DOMAIN must be different.

The VICTIM_DOMAIN was 127.0.0.2 however Mac OSX does
not support 127.0.0.x unless aliased. Using 'localhost'
resolves this issue.
2015-06-23 07:30:57 +00:00
Brendan Coles e31f0b8c44 use localhost for integration tests 2015-06-22 15:11:21 +00:00
Wade Alcorn 2fbca61368 Updated copyright dates 2014-12-30 07:44:58 +10:00
antisnatchor 9dcff5184d Manually merged DNS extension code (pull request 967 from @soh-cah-toa) 2014-03-02 12:40:18 +00:00
soh_cah_toa a75a95b663 Implemented DNS spoofer in social engineering extension.
The /api/seng/clone_page endpoint now accepts a boolean "dns_spoof"
key in the JSON request. This adds a DNS record pointing the
cloned webpage to the BeEF server.

Integration tests included.
2014-02-04 16:18:12 -05:00
Wade Alcorn 8003f1a47f Updated the copyright year to 2014 2014-01-01 16:34:15 +10:00
soh_cah_toa 1f37ceec9f Began first integration tests for DNS RESTful API interface.
First test is for POST /api/dns/rule handler.
2013-06-06 23:16:40 -04:00
Wade Alcorn fe40038441 Updated copyright year to 2013 2012-12-30 12:47:43 +10:00
Wade Alcorn 23f09b919f Changed license header 2012-11-02 14:26:10 +10:00
Wade Alcorn b68df3d024 Changed license header 2012-11-02 14:05:15 +10:00
antisnatchor 98807ae9a3 Added RESTful API tests for /api/auth, /api/hooks, /api/modules. Added Test_return_long_string Debug module test using the API :D 2012-04-15 13:22:35 +01:00
antisnatchor 698e01bb83 reverted back test_contants definition. 2012-03-04 16:36:08 +01: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 6c7624805c Update delay to test jenkins 2012-03-04 21:46:03 +10:00
antisnatchor 476c2d0636 commented out require of selenium gem. not needed and throws errors on Mac OSX 2012-02-07 02:03:34 +01:00
Wade Alcorn a47c1c296c Changed login delay for automated tests 2012-01-19 08:48:11 +10:00
Wade Alcorn 2e2f0f66bc Re-added the loading of the unit test library 2012-01-16 23:46:53 +10:00
Wade Alcorn d5ecc31f46 Removed test-unit warning 2012-01-16 23:09:54 +10:00
Wade Alcorn a9ce3f1a96 Added helper functions for starting attacker and victim browsers 2012-01-13 23:39:25 +10:00
Wade Alcorn a08126d296 Added hooking browser test 2012-01-13 23:32:31 +10:00
Wade Alcorn 5024b8a3f8 Added integration test helper functions for logging in and logging out 2012-01-13 22:55:32 +10:00
Wade Alcorn da7997aaad Added domain constants 2012-01-13 22:20:02 +10:00
Wade Alcorn 0f43ba6036 Added improved file structure to tests 2012-01-13 21:39:04 +10:00
Wade Alcorn cbaf8ab6b7 Updated unit test structure 2012-01-12 17:23:04 +10:00