Commit Graph

215 Commits

Author SHA1 Message Date
zinduolis
101020ffa0 Update copyright in rb, js and jsdocs 2024-12-25 11:40:55 +10:00
Stephen
b5bbe9ed6a port login tests to rspec 2024-03-28 08:21:46 +10:00
Stephen
83015d0a40 tidy unused 2024-03-28 03:07:43 +10:00
Stephen
aaf4c58235 tidy unused file 2024-03-27 18:57:28 +10:00
Stephen
482143067b Updated http://beefproject.com to https://beefproject.com 2023-12-31 14:46:15 +10:00
Stephen
747ddb5387 Updated http://beefproject.com to https://beefproject.com 2023-12-31 14:18:50 +10:00
jcrew99
3a486c7626 Updated Copyright 2023-12-26 22:32:31 -05:00
bcoles
cc56090ba4 Remove jools library (#2790) 2023-04-03 01:48:04 +10:00
jcrew99
486a9bb329 Update copyright 2023 (#2675)
* updated copyright

* reverted gemfile lock changes
2022-12-31 15:36:07 +10:00
wheatley
f33e2698a0 MAINTAINABILITY: 2257 update copyright 2022 (#2259)
* 2257 updated copyright date
2021-12-31 09:48:08 +10:00
J
4ec6ecee27 updated all of the copyright information 2021-01-11 04:48:56 +10:00
beep
470b3483d0 Update copyright information 2020-01-01 18:47:08 -08:00
Jess
9b5c8e39df Syntax changes 2019-11-14 22:09:44 -08:00
Ben Passmore
ba3183ef38 Merge branch 'rspec-conversion'
* Converted tests to rspec for future releases + travis integration.
* Files remaining in test/ are integrations that require verification if they are still relevant/working.
2019-09-26 13:42:50 +10:00
Ben Passmore
0b0e7840fc Removed test files no longer required by respec 2019-09-26 13:35:59 +10:00
root
61f0363859 gave it a proper output 2019-09-20 04:12:28 +00:00
root
de8eb60370 changed so it checks the config for P/U 2019-09-20 04:00:30 +00:00
Ben Passmore
d1cb59a728 Pulled api rate limit test to rspec 2019-08-18 13:46:20 +10:00
aussieklutz
b8fe5f1b80 Replace selenium with selenium-webdriver
Update Session.new calls with headless firefox (:selenium_headless) module
2019-05-02 09:55:01 +10:00
aussieklutz
64d5638a81 Replace selenium with selenium-webdriver
Replace gem require
2019-05-02 09:51:24 +10:00
aussieklutz
5eb3b686f1 Replace selenium with selenium-webdriver gem
Replace gem require + update Session.new calls with headless firefox (:selenium_headless) module
2019-05-02 09:49:21 +10:00
Ben Passmore
7c5a5b4df4 Converted unit tests, further work required 2019-04-17 10:48:04 +10:00
Brendan Coles
9bb33c620e Fix XssRays unit tests 2019-02-17 10:11:05 +00:00
Ben Passmore
9f1e8f5e8d Updated copyright 2019-01-01 11:57:28 +10:00
Brendan Coles
6e9c2850c7 Fix dependencies 2018-03-09 08:01:26 +00:00
Brendan Coles
e44ead9550 Merge branch 'master' into master 2018-03-09 17:42:01 +11:00
Brendan Coles
4e4a0585f4 Merge branch 'master' into 1333_rate_merged 2018-03-08 00:28:52 +11:00
Brendan Coles
f6089c70e8 Update minimum required Ruby version to 2.3.x 2018-03-07 12:51:26 +00:00
Francois van der Hoven
441620462d Restore original test constants 2018-02-28 11:44:16 +10:00
Francois van der Hoven
bbf59cd8c1 Match first of multiple links 2018-02-22 16:56:58 +10:00
Francois van der Hoven
cdc5022a19 Unit and Integration tests pass 2018-02-20 09:04:00 +10:00
Bucky Wilson
e0ec2aafda Commit review updates: added test to integration, removed debug
Added test TC_1333 to integration suite. adjusted requirements.

Removed debug requirement from main file.

    modified:   beef
    modified:   test/api/1333_auth_rate.rb
    modified:   test/integration/ts_integration.rb
2018-01-10 09:49:33 +10:00
Bucky Wilson
e8f203bd94 Added assertions for testing, corrected beef tear-down
Turned the exercise script into a limited test.
Added is password function to rest client
Corrected incorrect tear down in the Rakefile

	modified:   Rakefile
	modified:   test/api/1333_auth_rate.rb
	modified:   test/api/lib/beef_rest_client.rb
2018-01-10 09:49:33 +10:00
Bucky Wilson
c13a011cd8 Pre-creation of actual test
1333_auth_rate - multiple cyles of api auth requests at different
speeds.
Fast auth attempts should block
Solwer attempts, when valid should succeed

	modified:   Rakefile
	renamed:    test/api/beef_rest.rb -> test/api/1333_auth_rate.rb
2018-01-10 09:49:33 +10:00
Bucky Wilson
9dcf516b88 Test,/exercise script to evaluate rate limiting
Debug details in the script
2018-01-10 09:49:33 +10:00
Bucky Wilson
894c369ef8 Added speed checking of api auth calls.
Added beef_rest_client based on the beef rest api found in tools/lib
Added mass auth attempts

Adjusted test_constants to use environment variables -- to use with
rake.

Eventually should be a test
2018-01-10 09:49:33 +10:00
Wade Alcorn
fca5279f17 Updated Copyright dates 2018-01-04 09:12:47 +10:00
Brendan Coles
3ec6241c46 Fix login tests 2017-12-09 00:02:36 +00:00
Brendan Coles
4ff956c9be Add tests for variable decleration with 'let' 2017-08-06 18:39:23 +00:00
Brendan Coles
572b2db906 Add tests for BrowserDetails model 2017-04-23 06:02:11 +00:00
Brendan Coles
d7fd3acf23 Update minimum supported Ruby version to 2.2 2017-04-10 18:43:16 +00:00
Brendan Coles
74de77e157 Updated Copyright information 2017-02-05 05:39:31 +00:00
Wade Alcorn
91cc7ed873 Updated Copyright information 2016-12-29 15:50:13 +10:00
Brendan Coles
849a3c47e1 Re-enable DNS unit tests 2016-04-22 08:49:48 +00:00
Brendan Coles
b2c4b40fe8 Re-enable DNS integration tests 2016-04-22 06:29:20 +00:00
Brendan Coles
8139488482 Add core/extensions test cases 2016-04-22 02:51:06 +00:00
Brendan Coles
13fded460e assert_equal <expected>,<actual> 2016-02-12 13:59:50 +00:00
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