Compare commits

...

335 Commits

Author SHA1 Message Date
zinduolis
aeaafb5e27 Revert "Add enable auto merge to dependabot yml" 2024-11-21 15:21:38 +10:00
zinduolis
d85e14c1e6 Merge pull request #3226 from zinduolis/add_enable_auto_merge
Add enable auto merge to dependabot yml
2024-11-21 15:16:54 +10:00
zinduolis
355ee93608 Add enable auto merge to dependabot yml 2024-11-21 15:10:22 +10:00
zinduolis
bbeb8cd063 Merge pull request #3225 from zinduolis/quick_fix_dependabot_auto
Update merge target branch for dependabot
2024-11-21 14:56:09 +10:00
zinduolis
fd117dada2 Update merge target branch for dependabot 2024-11-21 14:52:22 +10:00
zinduolis
912a9aa7c0 Merge pull request #3224 from zinduolis/dependabot_automerge_v2
Automate dependabot merging
2024-11-21 14:44:21 +10:00
zinduolis
dca48fae4e Automate dependabot merging 2024-11-21 14:38:36 +10:00
zinduolis
33717fcc9f Merge pull request #3210 from zinduolis/automate_browserstack_3206
Update GitHub Actions not to require approval to run auto tests (#3206)
2024-11-08 21:40:13 +10:00
zinduolis
2f4e5fdf09 Production ready github_actions.yml 2024-11-08 21:33:08 +10:00
zinduolis
5d7f6372b6 Test gh workflow without approval 2024-11-08 21:14:11 +10:00
zinduolis
4648d9a97c Merge pull request #3209 from beefproject/dependabot/bundler/json-2.8.1
Bump json from 2.7.6 to 2.8.1
2024-11-08 19:36:57 +10:00
dependabot[bot]
49401c4175 Bump json from 2.7.6 to 2.8.1
Bumps [json](https://github.com/ruby/json) from 2.7.6 to 2.8.1.
- [Release notes](https://github.com/ruby/json/releases)
- [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md)
- [Commits](https://github.com/ruby/json/compare/v2.7.6...v2.8.1)

---
updated-dependencies:
- dependency-name: json
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-07 13:30:49 +00:00
zinduolis
f6d0115625 Merge pull request #3183 from zinduolis/3182_Resubmit_PR 2024-11-07 07:11:50 +10:00
zinduolis
18f2d6d396 Merge branch '3182_Resubmit_PR' of https://github.com/zinduolis/beef into 3182_Resubmit_PR 2024-11-06 19:51:19 +10:00
zinduolis
f383da04b6 Allow for four digit segments 2024-11-06 19:50:45 +10:00
zinduolis
e612a24c1b Improve security of browser version matching regex 2024-11-06 19:50:45 +10:00
zinduolis
ad23184646 Reapply "Merge branch 'pr/zinduolis/3149-3'"
This reverts commit 074efc7de6.
2024-11-06 19:50:45 +10:00
zinduolis
41f04d17ea Merge pull request #3205 from beefproject/dependabot/bundler/json-2.7.6
Bump json from 2.7.5 to 2.7.6
2024-11-06 19:32:50 +10:00
dependabot[bot]
c1126bf0c8 Bump json from 2.7.5 to 2.7.6
Bumps [json](https://github.com/ruby/json) from 2.7.5 to 2.7.6.
- [Release notes](https://github.com/ruby/json/releases)
- [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md)
- [Commits](https://github.com/ruby/json/compare/v2.7.5...v2.7.6)

---
updated-dependencies:
- dependency-name: json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-06 09:27:32 +00:00
zinduolis
66e234e630 Merge pull request #3195 from beefproject/dependabot/bundler/sqlite3-2.2.0
Bump sqlite3 from 1.7.3 to 2.2.0
2024-11-06 15:25:16 +10:00
dependabot[bot]
504985092c Bump sqlite3 from 1.7.3 to 2.2.0
Bumps [sqlite3](https://github.com/sparklemotion/sqlite3-ruby) from 1.7.3 to 2.2.0.
- [Release notes](https://github.com/sparklemotion/sqlite3-ruby/releases)
- [Changelog](https://github.com/sparklemotion/sqlite3-ruby/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/sqlite3-ruby/compare/v1.7.3...v2.2.0)

---
updated-dependencies:
- dependency-name: sqlite3
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-06 05:10:53 +00:00
zinduolis
3136718897 Merge pull request #3202 from zinduolis/activerecord_upgrade_to_7_2
Upgrade activerecord to 7.2 and refactor code for new version
2024-11-06 15:09:52 +10:00
zinduolis
17fb0cf602 Merge branch 'activerecord_upgrade_to_7_2' of https://github.com/zinduolis/beef into activerecord_upgrade_to_7_2 2024-11-06 14:47:00 +10:00
zinduolis
5205c33535 Resolving merge conflicts 2024-11-06 14:44:04 +10:00
zinduolis
fb211c2d58 Revert one more gh action change 2024-11-06 14:43:04 +10:00
zinduolis
f7b052572e Revert gh action update 2024-11-06 14:43:04 +10:00
zinduolis
b80b0ff9b1 Update gh action to run of workflow code in PR 2024-11-06 14:43:04 +10:00
zinduolis
32ad62fa77 Remove version from gh action 2024-11-06 14:43:04 +10:00
zinduolis
23b8e891ad Add current version of ruby for automated testing 2024-11-06 14:42:17 +10:00
zinduolis
5bd0752deb Resolving merge conflicts 2024-11-06 14:41:57 +10:00
zinduolis
05ba4b832b Merge branch 'activerecord_upgrade_to_7_2' of https://github.com/zinduolis/beef into activerecord_upgrade_to_7_2 2024-11-06 14:34:40 +10:00
zinduolis
752ab1c27a Revert one more gh action change 2024-11-06 14:34:26 +10:00
zinduolis
15c091e91e Revert gh action update 2024-11-06 14:28:26 +10:00
zinduolis
ce528f1f4e Update gh action to run of workflow code in PR 2024-11-06 14:27:19 +10:00
zinduolis
a62cb63d9c Upgrade activerecord to 7.2 and refactor code for new version 2024-11-06 14:21:24 +10:00
zinduolis
150f0651de Merge pull request #3204 from zinduolis/update_gh_actions
Update GitHub workflow for Browserstack testing
2024-11-06 08:14:41 +10:00
zinduolis
8183a07e67 Update checkout and ruby versions 2024-11-05 20:19:31 +10:00
zinduolis
29db262453 Revert one more gh action change 2024-11-05 20:11:21 +10:00
zinduolis
e1a4716ed0 Revert gh action update 2024-11-05 20:09:15 +10:00
zinduolis
bb7e145c32 Update gh action to run of workflow code in PR 2024-11-05 19:58:39 +10:00
zinduolis
8b5fdcfc4d Merge pull request #3203 from beefproject/dependabot/npm_and_yarn/jsdoc-to-markdown-9.0.5
Bump jsdoc-to-markdown from 9.0.4 to 9.0.5
2024-11-05 19:17:20 +10:00
dependabot[bot]
6252342791 Bump jsdoc-to-markdown from 9.0.4 to 9.0.5
Bumps [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown) from 9.0.4 to 9.0.5.
- [Release notes](https://github.com/jsdoc2md/jsdoc-to-markdown/releases)
- [Commits](https://github.com/jsdoc2md/jsdoc-to-markdown/compare/v9.0.4...v9.0.5)

---
updated-dependencies:
- dependency-name: jsdoc-to-markdown
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-04 13:51:05 +00:00
zinduolis
2ce3ad755f Update checkout action to the current version 2024-11-04 19:11:23 +10:00
zinduolis
45b61e9b5c Remove version from gh action 2024-11-04 18:43:33 +10:00
zinduolis
4043f46b08 Add current version of ruby for automated testing 2024-11-04 18:27:17 +10:00
zinduolis
752717301e Upgrade activerecord to 7.2 and refactor code for new version 2024-11-04 15:56:25 +10:00
zinduolis
59b33066ee Merge pull request #3196 from beefproject/dependabot/bundler/rubocop-1.68.0
Bump rubocop from 1.67.0 to 1.68.0
2024-11-01 14:36:28 +10:00
dependabot[bot]
e75022daa5 Bump rubocop from 1.67.0 to 1.68.0
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.67.0 to 1.68.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.67.0...v1.68.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-31 13:39:10 +00:00
zinduolis
63513f87bc Merge pull request #3191 from beefproject/dependabot/bundler/json-2.7.5
Bump json from 2.7.4 to 2.7.5
2024-10-31 16:39:54 +10:00
dependabot[bot]
8e4a754c3e Bump json from 2.7.4 to 2.7.5
Bumps [json](https://github.com/ruby/json) from 2.7.4 to 2.7.5.
- [Release notes](https://github.com/ruby/json/releases)
- [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md)
- [Commits](https://github.com/ruby/json/compare/v2.7.4...v2.7.5)

---
updated-dependencies:
- dependency-name: json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-31 06:35:38 +00:00
zinduolis
ced9bb3c3b Merge pull request #3192 from beefproject/dependabot/bundler/selenium-webdriver-4.26.0
Bump selenium-webdriver from 4.25.0 to 4.26.0
2024-10-31 16:34:39 +10:00
dependabot[bot]
6ebf8d6263 Bump selenium-webdriver from 4.25.0 to 4.26.0
Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium) from 4.25.0 to 4.26.0.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Changelog](https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES)
- [Commits](https://github.com/SeleniumHQ/selenium/compare/selenium-4.25.0...selenium-4.26.0)

---
updated-dependencies:
- dependency-name: selenium-webdriver
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-30 13:16:57 +00:00
zinduolis
aed85df393 Merge pull request #3166 from beefproject/dependabot/bundler/otr-activerecord-2.4.0
Bump otr-activerecord from 2.2.0 to 2.4.0
2024-10-30 15:24:58 +10:00
dependabot[bot]
9e4374aeee Bump otr-activerecord from 2.2.0 to 2.4.0
Bumps [otr-activerecord](https://github.com/jhollinger/otr-activerecord) from 2.2.0 to 2.4.0.
- [Changelog](https://github.com/jhollinger/otr-activerecord/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jhollinger/otr-activerecord/compare/v2.2.0...v2.4.0)

---
updated-dependencies:
- dependency-name: otr-activerecord
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-30 05:20:01 +00:00
zinduolis
362cff215d Merge pull request #3178 from beefproject/dependabot/bundler/execjs-2.10.0
Bump execjs from 2.9.1 to 2.10.0
2024-10-30 15:18:48 +10:00
dependabot[bot]
7f41338e06 Bump execjs from 2.9.1 to 2.10.0
Bumps [execjs](https://github.com/rails/execjs) from 2.9.1 to 2.10.0.
- [Release notes](https://github.com/rails/execjs/releases)
- [Commits](https://github.com/rails/execjs/compare/v2.9.1...v2.10.0)

---
updated-dependencies:
- dependency-name: execjs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-30 05:13:40 +00:00
zinduolis
8d1693cc6c Merge pull request #3181 from beefproject/dependabot/bundler/json-2.7.4
Bump json from 2.7.2 to 2.7.4
2024-10-30 15:06:52 +10:00
dependabot[bot]
e9371c2ed6 Bump json from 2.7.2 to 2.7.4
Bumps [json](https://github.com/ruby/json) from 2.7.2 to 2.7.4.
- [Release notes](https://github.com/ruby/json/releases)
- [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md)
- [Commits](https://github.com/ruby/json/compare/v2.7.2...v2.7.4)

---
updated-dependencies:
- dependency-name: json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-30 05:01:41 +00:00
zinduolis
092a277f94 Merge pull request #3185 from beefproject/dependabot/bundler/rexml-3.3.9
Bump rexml from 3.3.8 to 3.3.9
2024-10-30 15:00:21 +10:00
dependabot[bot]
96563d5901 Bump rexml from 3.3.8 to 3.3.9
Bumps [rexml](https://github.com/ruby/rexml) from 3.3.8 to 3.3.9.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.3.8...v3.3.9)

---
updated-dependencies:
- dependency-name: rexml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-30 04:57:05 +00:00
zinduolis
f0b0b7fbfd Merge pull request #3164 from beefproject/dependabot/bundler/rack-2.2.10
Bump rack from 2.2.9 to 2.2.10
2024-10-30 14:54:51 +10:00
dependabot[bot]
864336aa46 Bump rack from 2.2.9 to 2.2.10
Bumps [rack](https://github.com/rack/rack) from 2.2.9 to 2.2.10.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/v2.2.9...v2.2.10)

---
updated-dependencies:
- dependency-name: rack
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-30 04:49:07 +00:00
zinduolis
e27704d1b5 Merge pull request #3165 from beefproject/dependabot/bundler/rubocop-1.67.0
Bump rubocop from 1.66.1 to 1.67.0
2024-10-30 14:16:32 +10:00
zinduolis
147137bd15 Allow for four digit segments 2024-10-29 20:31:53 +10:00
zinduolis
6976117e9f Improve security of browser version matching regex 2024-10-29 20:20:00 +10:00
zinduolis
2cbe73a6c3 Merge remote-tracking branch 'origin/master' into 3182_Resubmit_PR 2024-10-28 21:11:03 +10:00
dependabot[bot]
ed35c2f679 Bump rubocop from 1.66.1 to 1.67.0
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.66.1 to 1.67.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.66.1...v1.67.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-27 22:03:30 +00:00
Stephen
4b926dff44 Merge branch 'pr/zinduolis/3176' 2024-10-28 08:02:17 +10:00
zinduolis
6744516e15 Fix debug mod data handling 2024-10-27 19:48:23 +10:00
zinduolis
7aaabe0ff7 Troubleshooting 2024-10-27 19:42:36 +10:00
zinduolis
2163e732ce Troubleshooting 2024-10-27 19:25:06 +10:00
zinduolis
f3216f16c5 Troubleshooting 2024-10-27 19:19:05 +10:00
zinduolis
3fdc5b6e2a Troubleshooting 2024-10-27 19:12:39 +10:00
zinduolis
60d30b11cc Troubleshooting 2024-10-27 19:06:39 +10:00
zinduolis
3c5f9a246a Troubleshooting 2024-10-27 18:59:10 +10:00
zinduolis
dafbef7fd8 Troubleshooting 2024-10-27 18:52:31 +10:00
zinduolis
3ba21b2a0f Troubleshooting 2024-10-27 18:45:13 +10:00
zinduolis
1fb094c545 Troubleshooting 2024-10-27 18:36:08 +10:00
zinduolis
dca1636261 Troubleshooting 2024-10-27 16:55:21 +10:00
zinduolis
b230e5a4c8 Troubleshooting 2024-10-27 16:48:56 +10:00
zinduolis
050e014e4c Troubleshooting 2024-10-27 16:41:50 +10:00
zinduolis
f816eb50b9 Troubleshooting 2024-10-27 16:37:46 +10:00
zinduolis
1cd9d0d8ad Fix another data handling issue 2024-10-27 16:32:51 +10:00
zinduolis
740d056142 Fix another data handling issue 2024-10-27 16:27:01 +10:00
zinduolis
21bb951586 Add graceful error handling for format inconsistency 2024-10-27 16:13:37 +10:00
zinduolis
590c32e66d Troubleshoot issue with test 2024-10-27 16:03:24 +10:00
Stephen
a355075389 Merge branch 'pr/zinduolis/3171' 2024-10-27 04:55:53 +10:00
zinduolis
3480fd385c Reapply "Merge branch 'pr/zinduolis/3149-3'"
This reverts commit 074efc7de6.
2024-10-26 14:53:38 +10:00
Stephen
074efc7de6 Revert "Merge branch 'pr/zinduolis/3149-3'"
This reverts commit d88439dda5, reversing
changes made to 4287153468.
2024-10-26 04:48:45 +10:00
zinduolis
1b17d3c067 Remove testing bits and fix issue with activerecord breaking change 2024-10-25 15:42:29 +10:00
Stephen
d88439dda5 Merge branch 'pr/zinduolis/3149-3' 2024-10-25 11:38:06 +10:00
zinduolis
42dcac8d9c Testing 2024-10-24 15:45:15 +10:00
zinduolis
37cca9b2a2 Testing 2024-10-24 15:40:00 +10:00
zinduolis
ac110a3c53 Test browserstack creds 2024-10-24 15:29:35 +10:00
zinduolis
b760016923 Test Browserstack credentials 2024-10-24 15:14:46 +10:00
zinduolis
4c0cbfa1e0 Merge branch 'master' into fix-cors-terminology 2024-10-23 17:04:27 +10:00
zinduolis
a5a8196792 Fix origin / domain terminology (#1688) 2024-10-23 16:07:17 +10:00
Stephen
4287153468 Update stale workflow configuration 2024-10-21 04:15:44 +10:00
zinduolis
db2eb060ab Extend browser name check with bowser-js/bowser 2024-10-18 17:39:01 +10:00
dependabot[bot]
cf95fa0143 Bump jsdoc-to-markdown from 8.0.3 to 9.0.2
Bumps [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown) from 8.0.3 to 9.0.2.
- [Release notes](https://github.com/jsdoc2md/jsdoc-to-markdown/releases)
- [Commits](https://github.com/jsdoc2md/jsdoc-to-markdown/compare/v8.0.3...v9.0.2)

---
updated-dependencies:
- dependency-name: jsdoc-to-markdown
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-16 13:28:54 +00:00
Stephen
89ed6cce8e Resolved merge conflict in Gemfile.lock 2024-10-16 05:18:12 +10:00
Stephen
1e94201f91 Update tins gem version to 1.35.0 2024-10-16 05:07:57 +10:00
Stephen
c43179b93f Merge branch 'pr/zinduolis/3159' into veganlol-merge 2024-10-15 04:48:49 +10:00
Stephen
db28734fbc Refactor veganlol function
to cookieValueRandomizer in browser/cookie.js
2024-10-15 04:48:45 +10:00
Stephen
79c04a7376 Fix typos 2024-10-15 04:12:55 +10:00
zinduolis
6e8c5b6291 Downgrade otr-activerecord to previous working version 2.2.0 2024-10-11 20:35:39 +10:00
zinduolis
f9c74c1e60 Revert otr-activerecord from 2.4.0 back to 2.2.0 to fix broken activerecord reference 2024-10-10 09:14:53 +10:00
Stephen
924f8fac1d Update Ruby version to 3.2.2 2024-10-10 05:19:58 +10:00
zinduolis
078a87f910 Merge branch '2040_Rename_veganLol' of https://github.com/zinduolis/beef into 2040_Rename_veganLol
Merging remote changes into my branch to get the latest changes.
2024-10-08 17:10:57 +10:00
zinduolis
189e9451e0 Rename veganLol and refresh jsdocs (#2040) 2024-10-08 17:07:23 +10:00
zinduolis
a02cc1a63a Fix FF browser name discovery - extend it based on CSS element 2024-10-07 15:20:12 +10:00
Stephen
63f6db2f0c Merge branch 'dependabot/bundler/otr-activerecord-2.4.0' into bump-gems 2024-10-07 04:36:58 +10:00
Stephen
aa58b415cc Merge branch 'bump-gems' into dependabot/bundler/selenium-webdriver-4.25.0 2024-10-07 04:34:14 +10:00
Stephen
bc4763dd01 Merge branch 'bump-gems' into dependabot/bundler/uglifier-4.2.1 2024-10-07 04:26:52 +10:00
Stephen
fe46c04162 Merge branch 'bump-gems' into dependabot/bundler/irb-1.14.1 2024-10-07 04:25:07 +10:00
Stephen
fb8f6c4a35 Merge branch 'bump-gems' into dependabot/bundler/webrick-1.8.2 2024-10-07 04:22:13 +10:00
Stephen
517897a2e7 Merge branch 'bump-gems' into dependabot/bundler/mime-types-3.6.0 2024-10-07 04:20:00 +10:00
Stephen
8aa0b97268 Merge branch 'dependabot/npm_and_yarn/jsdoc-to-markdown-9.0.2' into bump-gems 2024-10-07 04:13:30 +10:00
zinduolis
6a1fdfb62c Rename veganLol and refresh jsdocs (#2040) 2024-10-04 17:30:25 +10:00
zinduolis
aa4479b517 Revert browser name check based on userAgent 2024-10-04 16:22:37 +10:00
dependabot[bot]
0fba1347f8 Bump mime-types from 3.5.2 to 3.6.0
Bumps [mime-types](https://github.com/mime-types/ruby-mime-types) from 3.5.2 to 3.6.0.
- [Changelog](https://github.com/mime-types/ruby-mime-types/blob/main/History.md)
- [Commits](https://github.com/mime-types/ruby-mime-types/compare/v3.5.2...v3.6.0)

---
updated-dependencies:
- dependency-name: mime-types
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-02 13:06:42 +00:00
zinduolis
e741748b29 Update browser version matching regex 2024-09-30 20:01:35 +10:00
dependabot[bot]
1e62e83cde Bump otr-activerecord from 2.2.0 to 2.4.0
Bumps [otr-activerecord](https://github.com/jhollinger/otr-activerecord) from 2.2.0 to 2.4.0.
- [Changelog](https://github.com/jhollinger/otr-activerecord/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jhollinger/otr-activerecord/compare/v2.2.0...v2.4.0)

---
updated-dependencies:
- dependency-name: otr-activerecord
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-29 19:32:21 +00:00
dependabot[bot]
7a2a213c84 Bump selenium-webdriver from 4.24.0 to 4.25.0
Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium) from 4.24.0 to 4.25.0.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Changelog](https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES)
- [Commits](https://github.com/SeleniumHQ/selenium/compare/selenium-4.24.0...selenium-4.25.0)

---
updated-dependencies:
- dependency-name: selenium-webdriver
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-29 19:32:20 +00:00
dependabot[bot]
c2231925ab Bump webrick from 1.8.1 to 1.8.2
Bumps [webrick](https://github.com/ruby/webrick) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/ruby/webrick/releases)
- [Commits](https://github.com/ruby/webrick/compare/v1.8.1...v1.8.2)

---
updated-dependencies:
- dependency-name: webrick
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-29 19:32:20 +00:00
zinduolis
330f92bc6a Fix invalid plugins condition #3051 2024-09-29 22:02:41 +10:00
dependabot[bot]
ac3dc2df59 Bump irb from 1.14.0 to 1.14.1
Bumps [irb](https://github.com/ruby/irb) from 1.14.0 to 1.14.1.
- [Release notes](https://github.com/ruby/irb/releases)
- [Commits](https://github.com/ruby/irb/compare/v1.14.0...v1.14.1)

---
updated-dependencies:
- dependency-name: irb
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-27 13:19:16 +00:00
zinduolis
5d7fbe162c Fix invalid version condition #3051 2024-09-27 19:38:24 +10:00
dependabot[bot]
70978f227c Bump jsdoc-to-markdown from 8.0.3 to 9.0.2
Bumps [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown) from 8.0.3 to 9.0.2.
- [Release notes](https://github.com/jsdoc2md/jsdoc-to-markdown/releases)
- [Commits](https://github.com/jsdoc2md/jsdoc-to-markdown/compare/v8.0.3...v9.0.2)

---
updated-dependencies:
- dependency-name: jsdoc-to-markdown
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-26 13:49:49 +00:00
zinduolis
aebc9949f6 extended the existing functionality for browser name 2024-09-25 17:17:51 +10:00
zinduolis
d6dd75f23a Fix invalid browser name issue for Firefox, Chrome and Opera (#3051) 2024-09-24 15:50:36 +10:00
dependabot[bot]
cd3a7d47c9 Bump uglifier from 4.2.0 to 4.2.1
Bumps [uglifier](https://github.com/lautis/uglifier) from 4.2.0 to 4.2.1.
- [Changelog](https://github.com/lautis/uglifier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/lautis/uglifier/compare/v4.2.0...v4.2.1)

---
updated-dependencies:
- dependency-name: uglifier
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-23 13:33:35 +00:00
dependabot[bot]
7cb0a39b67 Bump rubocop from 1.64.0 to 1.66.1
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.64.0 to 1.66.1.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.64.0...v1.66.1)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-15 19:11:13 +00:00
zinduolis
955a004506 Non breaking dependency upgrade 2024-09-13 21:23:52 +10:00
Stephen
26531fe0af Merge branch 'master' into dependabot/bundler/rdoc-6.7.0 2024-05-24 05:24:55 +10:00
dependabot[bot]
f679efb672 Bump rubocop from 1.63.4 to 1.64.0
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.63.4 to 1.64.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.63.4...v1.64.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-23 19:09:57 +00:00
dependabot[bot]
2b12e4875a Bump selenium-webdriver from 4.20.1 to 4.21.1
Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium) from 4.20.1 to 4.21.1.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Changelog](https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES)
- [Commits](https://github.com/SeleniumHQ/selenium/commits)

---
updated-dependencies:
- dependency-name: selenium-webdriver
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-23 18:40:15 +00:00
dependabot[bot]
a3221b4c8e Bump rdoc from 6.6.3.1 to 6.7.0
Bumps [rdoc](https://github.com/ruby/rdoc) from 6.6.3.1 to 6.7.0.
- [Release notes](https://github.com/ruby/rdoc/releases)
- [Changelog](https://github.com/ruby/rdoc/blob/master/History.rdoc)
- [Commits](https://github.com/ruby/rdoc/compare/v6.6.3.1...v6.7.0)

---
updated-dependencies:
- dependency-name: rdoc
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-23 18:40:09 +00:00
Stephen
aeda7fc415 Merge branch 'bump-gems' into dependabot/bundler/rexml-3.2.8 2024-05-23 08:06:35 +10:00
Stephen
9393ba33d3 Merge branch 'bump-gems' into dependabot/bundler/nokogiri-1.16.5 2024-05-23 06:10:00 +10:00
dependabot[bot]
49b2ba3263 Bump rexml from 3.2.6 to 3.2.8
Bumps [rexml](https://github.com/ruby/rexml) from 3.2.6 to 3.2.8.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.2.6...v3.2.8)

---
updated-dependencies:
- dependency-name: rexml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-16 21:46:00 +00:00
dependabot[bot]
64d8b542bb Bump nokogiri from 1.16.2 to 1.16.5
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.16.2 to 1.16.5.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.16.2...v1.16.5)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-13 23:41:01 +00:00
dependabot[bot]
0243619940 Bump rubocop from 1.63.4 to 1.63.5
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.63.4 to 1.63.5.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.63.4...v1.63.5)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-09 13:57:47 +00:00
dependabot[bot]
9b05cf2683 Bump irb from 1.13.0 to 1.13.1
Bumps [irb](https://github.com/ruby/irb) from 1.13.0 to 1.13.1.
- [Release notes](https://github.com/ruby/irb/releases)
- [Commits](https://github.com/ruby/irb/compare/v1.13.0...v1.13.1)

---
updated-dependencies:
- dependency-name: irb
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 13:25:20 +00:00
Stephen
6d6208cd81 Refactor Rakefile and spec files for better organization and readability 2024-05-05 03:28:20 +10:00
Stephen
ed7c9e8d3b Refactor Rakefile and spec files for better organization and readability 2024-05-05 03:27:23 +10:00
Stephen
0ff092902f Merge branch 'master' into port-tests 2024-05-04 04:38:06 +10:00
Stephen
5c4fccff48 Merge branch 'pr/jbrahy/3075' 2024-05-04 04:24:25 +10:00
John Brahy
591f76edea Update github_actions.yml
spelling error
2024-05-02 15:13:00 -07:00
dependabot[bot]
a1f27860a8 Bump irb from 1.12.0 to 1.13.0
Bumps [irb](https://github.com/ruby/irb) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/ruby/irb/releases)
- [Commits](https://github.com/ruby/irb/compare/v1.12.0...v1.13.0)

---
updated-dependencies:
- dependency-name: irb
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-02 13:50:59 +00:00
Stephen
a72668581b Merge branch 'master' into port-tests 2024-05-02 06:06:12 +10:00
Stephen
6d1c3c3a31 Merge branch 'master' into bump-gems 2024-05-02 06:02:20 +10:00
Stephen
cfc6da3834 fix sqlite3 gem version 2024-05-02 05:58:52 +10:00
dependabot[bot]
6b58cd3a6c Bump rubocop from 1.63.2 to 1.63.4
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.63.2 to 1.63.4.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.63.2...v1.63.4)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-01 19:47:55 +00:00
Stephen
ce71efbe73 Merge branch 'dependabot/bundler/sqlite3-2.0.1' into bump-gems 2024-05-01 04:34:19 +10:00
Stephen
38eb68f703 Merge branch 'bump-gems' into port-tests 2024-04-30 10:28:38 +10:00
Stephen
8bcde3006d Merge branch 'dependabot/bundler/rubocop-1.63.3' into bump-gems 2024-04-30 10:24:01 +10:00
Stephen
fe26a9f9bd Fix port availability check and add error message 2024-04-28 15:58:12 +10:00
Stephen
89c587c0d4 correct rspec name 2024-04-28 15:54:53 +10:00
dependabot[bot]
0cc3347a7b Bump selenium-webdriver from 4.19.0 to 4.20.1
Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium) from 4.19.0 to 4.20.1.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Changelog](https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES)
- [Commits](https://github.com/SeleniumHQ/selenium/commits)

---
updated-dependencies:
- dependency-name: selenium-webdriver
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-26 13:02:19 +00:00
dependabot[bot]
60a53ff303 Bump rubocop from 1.63.2 to 1.63.3
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.63.2 to 1.63.3.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.63.2...v1.63.3)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-23 13:30:28 +00:00
Stephen
6bd1b720be Merge branch 'master' into port-tests 2024-04-21 05:50:14 +10:00
dependabot[bot]
b33f004c0e Bump sqlite3 from 1.7.3 to 2.0.1
Bumps [sqlite3](https://github.com/sparklemotion/sqlite3-ruby) from 1.7.3 to 2.0.1.
- [Release notes](https://github.com/sparklemotion/sqlite3-ruby/releases)
- [Changelog](https://github.com/sparklemotion/sqlite3-ruby/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/sqlite3-ruby/compare/v1.7.3...v2.0.1)

---
updated-dependencies:
- dependency-name: sqlite3
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-20 19:24:46 +00:00
Stephen
4269c80668 Merge branch 'master' into dependabot/bundler/json-2.7.2 2024-04-21 05:14:19 +10:00
Stephen
e610f9947f Merge branch 'dependabot/bundler/rake-13.2.1' 2024-04-21 05:10:43 +10:00
Stephen
051502aeb2 Merge branch 'master' into dependabot/bundler/term-ansicolor-1.8.0 2024-04-21 04:58:31 +10:00
Stephen
4fe7fe73de remove misnamed file 2024-04-21 04:05:16 +10:00
Stephen
0eda8bbf48 add tests for debug modules 2024-04-21 04:03:45 +10:00
Stephen
92d84aa988 add tests to load modules 2024-04-21 04:03:24 +10:00
Stephen
8fe4673325 add ui support for tests 2024-04-21 04:01:21 +10:00
dependabot[bot]
0301de8e1c Bump rubocop from 1.62.1 to 1.63.2
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.62.1 to 1.63.2.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.62.1...v1.63.2)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-16 13:19:05 +00:00
dependabot[bot]
1c551d975c Bump term-ansicolor from 1.7.2 to 1.8.0
Bumps [term-ansicolor](https://github.com/flori/term-ansicolor) from 1.7.2 to 1.8.0.
- [Changelog](https://github.com/flori/term-ansicolor/blob/master/CHANGES)
- [Commits](https://github.com/flori/term-ansicolor/compare/v1.7.2...v1.8.0)

---
updated-dependencies:
- dependency-name: term-ansicolor
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-15 13:46:15 +00:00
Stephen
213cd721d6 clean up modules to assist in testing 2024-04-14 11:04:18 +10:00
dependabot[bot]
87c538d14f Bump rake from 13.1.0 to 13.2.1
Bumps [rake](https://github.com/ruby/rake) from 13.1.0 to 13.2.1.
- [Release notes](https://github.com/ruby/rake/releases)
- [Changelog](https://github.com/ruby/rake/blob/master/History.rdoc)
- [Commits](https://github.com/ruby/rake/compare/v13.1.0...v13.2.1)

---
updated-dependencies:
- dependency-name: rake
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-05 13:11:00 +00:00
dependabot[bot]
67da254ee2 Bump json from 2.7.1 to 2.7.2
Bumps [json](https://github.com/flori/json) from 2.7.1 to 2.7.2.
- [Release notes](https://github.com/flori/json/releases)
- [Changelog](https://github.com/flori/json/blob/master/CHANGES.md)
- [Commits](https://github.com/flori/json/compare/v2.7.1...v2.7.2)

---
updated-dependencies:
- dependency-name: json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-04 13:52:11 +00:00
Stephen
1699a1dcde fixed module ui subfolder bug 2024-04-04 07:31:13 +10:00
Stephen
34fa29a958 added a cycle through the debug tests using their yml files 2024-04-02 15:49:35 +10:00
Stephen
4bb75179af start porting tests for debug modules 2024-04-01 10:45:10 +10:00
Stephen
ed0e43bd27 add db reset function reset_beef_db 2024-04-01 10:42:52 +10:00
Stephen
6afee3fc37 add BROWSER_HOOKING_TIMEOUT const 2024-04-01 10:42:30 +10:00
Stephen
5c4043977b remove excess require 2024-04-01 10:42:08 +10:00
Stephen
5102a1f196 changed to use SERVER_START_TIMEOUT 2024-03-30 17:05:05 +10:00
Stephen
e61a632d3c added SERVER_START_TIMEOUT const 2024-03-30 17:04:52 +10:00
Stephen
bbffef1ea7 changed tests to use PAGE_LOAD_TIMEOUT const 2024-03-30 16:54:44 +10:00
Stephen
b00573de72 aded PAGE_LOAD_TIMEOUT const 2024-03-30 16:53:15 +10:00
Stephen
fbbc607d3c Merge branch 'master' into port-tests 2024-03-30 10:47:08 +10:00
Stephen
21d833c004 Merge branch 'dependabot/bundler/async-1.32.1' 2024-03-30 10:28:51 +10:00
dependabot[bot]
7227e31696 Bump selenium-webdriver from 4.18.1 to 4.19.0
Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium) from 4.18.1 to 4.19.0.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Changelog](https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES)
- [Commits](https://github.com/SeleniumHQ/selenium/compare/selenium-4.18.1...selenium-4.19.0)

---
updated-dependencies:
- dependency-name: selenium-webdriver
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-28 13:53:58 +00:00
dependabot[bot]
b545e7010f Bump async from 1.32.0 to 1.32.1
Bumps [async](https://github.com/socketry/async) from 1.32.0 to 1.32.1.
- [Release notes](https://github.com/socketry/async/releases)
- [Changelog](https://github.com/socketry/async/blob/main/release.cert)
- [Commits](https://github.com/socketry/async/compare/v1.32.0...v1.32.1)

---
updated-dependencies:
- dependency-name: async
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-28 13:52:35 +00:00
Stephen
f378c0c999 Merge branch 'pr/LauchieHarvey/3031' into port-tests 2024-03-28 08:30:12 +10:00
Stephen
b5bbe9ed6a port login tests to rspec 2024-03-28 08:21:46 +10:00
Stephen
cdba6b632f use new stop_beef_server function 2024-03-28 08:21:06 +10:00
Stephen
9427107044 set to UTF-8 and add a stop server function 2024-03-28 08:20:07 +10:00
Stephen
6ee901724f add a test and remove the screenshot code 2024-03-28 08:19:09 +10:00
Stephen
6ea6e8d434 Merge branch 'bump-gems' into dependabot/bundler/rack-2.2.9 2024-03-28 03:57:11 +10:00
Stephen
473e4c1f74 Merge branch 'bump-gems' into dependabot/bundler/rdoc-6.6.3.1 2024-03-28 03:53:06 +10:00
Stephen
4841028648 Merge branch 'dependabot/bundler/net-smtp-0.5.0' into bump-gems 2024-03-28 03:52:22 +10:00
Stephen
3a2e11170d Merge branch 'port-tests' into dependabot/bundler/net-smtp-0.5.0 2024-03-28 03:49:54 +10:00
Stephen
45cb16c27a Merge branch 'master' into dependabot/bundler/async-1.32.0 2024-03-28 03:41:15 +10:00
Stephen
660487a9e6 Merge branch 'master' into pr/LauchieHarvey/3031 2024-03-28 03:13:43 +10:00
Stephen
6c960ea8aa stage login tests 2024-03-28 03:12:08 +10:00
Stephen
60cc069a3b remove excess new line 2024-03-28 03:10:31 +10:00
Stephen
dba210c109 tidy login_spec file 2024-03-28 03:08:32 +10:00
Stephen
83015d0a40 tidy unused 2024-03-28 03:07:43 +10:00
dependabot[bot]
d713e37506 Bump async from 1.31.0 to 1.32.0
Bumps [async](https://github.com/socketry/async) from 1.31.0 to 1.32.0.
- [Release notes](https://github.com/socketry/async/releases)
- [Changelog](https://github.com/socketry/async/blob/main/release.cert)
- [Commits](https://github.com/socketry/async/compare/v1.31.0...v1.32.0)

---
updated-dependencies:
- dependency-name: async
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-27 13:25:25 +00:00
dependabot[bot]
5f7d5e822a Bump net-smtp from 0.4.0.1 to 0.5.0
Bumps [net-smtp](https://github.com/ruby/net-smtp) from 0.4.0.1 to 0.5.0.
- [Release notes](https://github.com/ruby/net-smtp/releases)
- [Changelog](https://github.com/ruby/net-smtp/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/net-smtp/compare/v0.4.0.1...v0.5.0)

---
updated-dependencies:
- dependency-name: net-smtp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-27 13:25:00 +00:00
Stephen
aaf4c58235 tidy unused file 2024-03-27 18:57:28 +10:00
Stephen
24a25d6e6a tidy BeefTest and add more test cases 2024-03-27 18:53:56 +10:00
Stephen
f0bb5ed2d6 added boiler plate 2024-03-27 18:50:13 +10:00
Stephen
712201d909 fixed logout helper and cleaned up code 2024-03-26 19:04:58 +10:00
Stephen
c51c0fca6d added boiler plate 2024-03-26 19:03:50 +10:00
Stephen
0fb4805c44 fixed login helper function 2024-03-26 06:53:33 +10:00
Stephen
92e03ba62b remove excess comments 2024-03-25 17:12:19 +10:00
Stephen
0821490acd Merge branch 'master' into pr/LauchieHarvey/3031 2024-03-25 12:20:05 +10:00
Stephen
822c6616de removed excess debug code 2024-03-25 12:18:13 +10:00
Stephen
140129a91a fixed module loading bug 2024-03-25 12:16:33 +10:00
Stephen
95037f7c5a added the print dns function for banner info 2024-03-25 12:00:12 +10:00
Stephen
c4b0b63e90 move dns banner output into to banners.rb - still had a bug 2024-03-25 11:44:33 +10:00
Stephen
3e56a94573 tidy up auth_rate_spec 2024-03-25 07:26:54 +10:00
Stephen
27ae165f92 removed incorrect comment 2024-03-25 07:17:38 +10:00
Stephen
85e550e44c add test clean up of config settings 2024-03-25 05:38:27 +10:00
Stephen
88f383baae removed old tests 2024-03-24 18:14:19 +10:00
Stephen
52abaa32f2 fixed @server_started file init 2024-03-24 16:59:38 +10:00
Stephen
a41e2bb637 fix typo 2024-03-22 15:19:20 +10:00
Stephen
f978b5fc4f moved testing server functions to spec_helper.rb 2024-03-22 11:47:45 +10:00
Stephen
2d54cde54d basic format change 2024-03-22 11:33:27 +10:00
Stephen
86cf8bcfe5 added shutdown for the dns server 2024-03-22 11:02:10 +10:00
Stephen
8e67dab667 set dns logger level to ERROR only 2024-03-22 10:48:33 +10:00
Stephen
abdd89eacc stop multiple dns servers from starting and add a stop function 2024-03-22 10:32:31 +10:00
Stephen
5392867e72 enable QR tests 2024-03-22 05:44:43 +10:00
Stephen
50d03b5619 clean up QR output 2024-03-22 05:36:59 +10:00
Stephen
a67c791731 clean up QR output 2024-03-22 05:36:17 +10:00
Stephen
9077123d1e change to Configuration.instance instead of calling .new 2024-03-22 05:04:12 +10:00
dependabot[bot]
ba7e9b44e5 Bump rdoc from 6.6.2 to 6.6.3.1
Bumps [rdoc](https://github.com/ruby/rdoc) from 6.6.2 to 6.6.3.1.
- [Release notes](https://github.com/ruby/rdoc/releases)
- [Changelog](https://github.com/ruby/rdoc/blob/master/History.rdoc)
- [Commits](https://github.com/ruby/rdoc/compare/v6.6.2...v6.6.3.1)

---
updated-dependencies:
- dependency-name: rdoc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-21 13:59:03 +00:00
dependabot[bot]
eb9011e66a Bump rack from 2.2.8.1 to 2.2.9
Bumps [rack](https://github.com/rack/rack) from 2.2.8.1 to 2.2.9.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/v2.2.8.1...v2.2.9)

---
updated-dependencies:
- dependency-name: rack
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-21 13:58:43 +00:00
Stephen
55632fe2d6 move the proxy banner to banners.rb 2024-03-20 16:43:13 +10:00
Stephen
0f216f4e20 refactor test cases 2024-03-20 12:24:23 +10:00
Stephen
32543c6f33 refactor starting beef server 2024-03-20 04:11:39 +10:00
Stephen
91295243a3 :x
:q!
2024-03-19 06:55:15 +00:00
Stephen
f3e3e6b014 init 'creds' var 2024-03-19 14:07:45 +10:00
Stephen
312e397bb7 update year 2024-03-19 14:07:15 +10:00
Stephen
bc5915fb05 Merge branch 'master' into pr/catatonicprime/2990 2024-03-19 04:06:00 +00:00
Stephen
1ee90dd885 Merge branch 'master' into dependabot/bundler/term-ansicolor-1.7.2 2024-03-18 20:50:43 +00:00
Stephen
48159dd914 Merge branch 'master' into dependabot/bundler/sqlite3-1.7.3 2024-03-18 20:48:48 +00:00
Stephen
0d0e5c4c77 readd pdf bounce file 2024-03-19 05:54:34 +10:00
dependabot[bot]
59d0e1c007 Bump term-ansicolor from 1.7.1 to 1.7.2
Bumps [term-ansicolor](https://github.com/flori/term-ansicolor) from 1.7.1 to 1.7.2.
- [Changelog](https://github.com/flori/term-ansicolor/blob/master/CHANGES)
- [Commits](https://github.com/flori/term-ansicolor/compare/v1.7.1...v1.7.2)

---
updated-dependencies:
- dependency-name: term-ansicolor
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 13:13:45 +00:00
dependabot[bot]
30d65b381e Bump sqlite3 from 1.7.2 to 1.7.3
Bumps [sqlite3](https://github.com/sparklemotion/sqlite3-ruby) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/sparklemotion/sqlite3-ruby/releases)
- [Changelog](https://github.com/sparklemotion/sqlite3-ruby/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/sqlite3-ruby/compare/v1.7.2...v1.7.3)

---
updated-dependencies:
- dependency-name: sqlite3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 13:12:27 +00:00
Stephen
29872dfbff Merge branch 'master' into dependabot/bundler/irb-1.12.0 2024-03-17 23:52:03 +00:00
Stephen
9e9470974a Merge branch 'master' into dependabot/bundler/rack-2.2.8.1 2024-03-17 23:44:36 +00:00
Stephen
62db76cdd9 Merge branch 'master' into dependabot/bundler/rubocop-1.62.1 2024-03-17 23:35:14 +00:00
Stephen
ffdc303652 everything commented out. tests to be included in a long version of testing 2024-03-18 07:27:48 +10:00
Stephen
386a417aeb improved test cases 2024-03-18 07:17:20 +10:00
Stephen
d01f94a061 updated/improved requester tests but still not fully working 2024-03-17 19:17:14 +10:00
Stephen
32b72c2134 fixed string mangement bug 2024-03-17 17:03:30 +10:00
Stephen
ca8e49286a fixed command class test 2024-03-17 16:55:08 +10:00
Stephen
1ec09bb569 move the deprecation warning to the comment as it is only used in tests 2024-03-17 10:58:39 +10:00
Stephen
0b6e759ada fix serialize deprecation warning 2024-03-17 09:41:41 +10:00
Stephen
851cdb249e remove the ARGV warning 2024-03-17 09:39:11 +10:00
Stephen
33b92a5aab clean up auth rate test 2024-03-17 08:04:44 +10:00
Stephen
424e05ba7c remove the deprecation warning relating to serialize 2024-03-17 08:00:08 +10:00
Stephen
2fe3aecde1 moved puts to print_info in rate limit test 2024-03-17 06:40:48 +10:00
Stephen
442bade925 added QR error handling 2024-03-17 06:06:32 +10:00
Stephen
2eea0d3ef5 update ActiveRecord::Migration function 2024-03-17 05:16:17 +10:00
dependabot[bot]
f1d69d0301 Bump rubocop from 1.60.2 to 1.62.1
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.60.2 to 1.62.1.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.60.2...v1.62.1)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 13:24:30 +00:00
dependabot[bot]
05f833f857 Bump irb from 1.11.2 to 1.12.0
Bumps [irb](https://github.com/ruby/irb) from 1.11.2 to 1.12.0.
- [Release notes](https://github.com/ruby/irb/releases)
- [Commits](https://github.com/ruby/irb/compare/v1.11.2...v1.12.0)

---
updated-dependencies:
- dependency-name: irb
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-07 13:35:24 +00:00
root
bc1b3efa78 Removed debug console logs. 2024-03-01 07:16:36 -05:00
root
f7bef44b8f Autorun module change and save through UI. 2024-03-01 05:39:01 -05:00
root
fd4c4c1af5 Module combobox provided. change handler not implemented yet. 2024-02-28 00:38:18 -05:00
root
a47a35e7bc Edit Autorun rules in UI with dynamic input fields for modules. 2024-02-26 00:35:12 -05:00
root
e25529a76b Autorun UI elements now match command module elements. 2024-02-24 19:11:33 -05:00
root
9ccd8c633b Textfields for ARE module input fields. 2024-02-22 20:55:10 -05:00
dependabot[bot]
f3c7e2ee8c Bump rack from 2.2.8 to 2.2.8.1
Bumps [rack](https://github.com/rack/rack) from 2.2.8 to 2.2.8.1.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/v2.2.8...v2.2.8.1)

---
updated-dependencies:
- dependency-name: rack
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-22 13:34:55 +00:00
root
09cba67c90 Add module to a rule now via a button in the UI. 2024-02-21 22:16:24 -05:00
root
20089628b3 Can now delete ARE rule modules through UI. 2024-02-21 22:03:20 -05:00
root
c3bc4d2fcd Update DOM after creating, updating or deleting a rule. 2024-02-21 02:48:50 -05:00
root
065cd6dec9 Nicer format for Auto Run rules. 2024-02-21 02:40:14 -05:00
root
0fd2d433b2 Can now reorder modules in the UI. Execution order array is conflicting though. 2024-02-20 20:53:37 -05:00
root
fd2e56dd12 Created UI class for modules in Auto Run. 2024-02-20 16:52:49 -05:00
dependabot[bot]
913140133a Bump selenium-webdriver from 4.17.0 to 4.18.1
Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium) from 4.17.0 to 4.18.1.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Changelog](https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES)
- [Commits](https://github.com/SeleniumHQ/selenium/compare/selenium-4.17.0...selenium-4.18.1)

---
updated-dependencies:
- dependency-name: selenium-webdriver
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-20 13:19:07 +00:00
root
c2267992c6 Editing ARE rule modules as JSON in the UI. Added display condition fields for ARE rules too. 2024-02-19 03:16:26 -05:00
root
503dd532f6 Can update rule name and chain_mode through UI. 2024-02-18 22:42:41 -05:00
root
1b1c8543b3 Added REST PATCH endpoint for updating ARE rules. 2024-02-18 21:05:02 -05:00
root
6a18655a48 Rules can now be deleted through the UI. 2024-02-18 16:57:56 -05:00
root
aaac53f9fb Add ARE rule button for testing. Created author, name and chain_mode fields. 2024-02-17 18:36:48 -05:00
root
b1c04f9f6f Created form component for each ARE rule. 2024-02-17 03:18:03 -05:00
root
bf4883a0f0 Fixed incorrect API url. Now loads ARE rules and displays titles. 2024-02-16 17:29:15 -05:00
root
459a99dce4 Query the list of ARE rules on render. Display the count. 2024-02-16 00:17:33 -05:00
root
920a5c5a5d Created a new panel in the UI for auto run elements. 2024-02-15 20:39:38 -05:00
Stephen
aa030d6949 Merge branch 'dependabot/bundler/capybara-3.40.0' 2024-02-15 15:45:48 +10:00
Stephen
180f3600fb Merge branch 'dependabot/bundler/rspec-3.13.0' 2024-02-15 15:40:27 +10:00
Stephen
d5db23ea19 update gemfile.lock 2024-02-14 19:15:15 +10:00
Stephen
56c71464eb Merge branch 'dependabot/bundler/nokogiri-1.16.2' 2024-02-14 14:44:52 +10:00
dependabot[bot]
599b960e54 Bump irb from 1.11.1 to 1.11.2
Bumps [irb](https://github.com/ruby/irb) from 1.11.1 to 1.11.2.
- [Release notes](https://github.com/ruby/irb/releases)
- [Commits](https://github.com/ruby/irb/compare/v1.11.1...v1.11.2)

---
updated-dependencies:
- dependency-name: irb
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-08 13:45:10 +00:00
dependabot[bot]
8338f52682 Bump nokogiri from 1.16.0 to 1.16.2
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.16.0 to 1.16.2.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.16.0...v1.16.2)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-06 03:52:07 +00:00
dependabot[bot]
c4997f94c5 Bump rspec from 3.12.0 to 3.13.0
Bumps [rspec](https://github.com/rspec/rspec-metagem) from 3.12.0 to 3.13.0.
- [Commits](https://github.com/rspec/rspec-metagem/compare/v3.12.0...v3.13.0)

---
updated-dependencies:
- dependency-name: rspec
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 13:50:06 +00:00
Stephen
0d5644146b Merge branch 'dependabot/bundler/sqlite3-1.7.1' 2024-01-30 14:16:34 +10:00
Stephen
f948352f39 Merge branch 'dependabot/bundler/rubocop-1.60.2' 2024-01-30 14:02:41 +10:00
dependabot[bot]
c823147b00 Bump capybara from 3.39.2 to 3.40.0
Bumps [capybara](https://github.com/teamcapybara/capybara) from 3.39.2 to 3.40.0.
- [Changelog](https://github.com/teamcapybara/capybara/blob/master/History.md)
- [Commits](https://github.com/teamcapybara/capybara/compare/3.39.2...3.40.0)

---
updated-dependencies:
- dependency-name: capybara
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 13:57:23 +00:00
dependabot[bot]
addfffb5b2 Bump sqlite3 from 1.7.0 to 1.7.1
Bumps [sqlite3](https://github.com/sparklemotion/sqlite3-ruby) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/sparklemotion/sqlite3-ruby/releases)
- [Changelog](https://github.com/sparklemotion/sqlite3-ruby/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/sqlite3-ruby/compare/v1.7.0...v1.7.1)

---
updated-dependencies:
- dependency-name: sqlite3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-26 22:42:11 +00:00
Stephen
753a37d3f3 Merge branch 'dependabot/bundler/selenium-webdriver-4.17.0' 2024-01-25 03:49:31 +10:00
dependabot[bot]
f663a8eede Bump rubocop from 1.59.0 to 1.60.2
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.59.0 to 1.60.2.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.59.0...v1.60.2)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-24 17:40:18 +00:00
dependabot[bot]
86cf4ca350 Bump selenium-webdriver from 4.16.0 to 4.17.0
Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium) from 4.16.0 to 4.17.0.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Changelog](https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES)
- [Commits](https://github.com/SeleniumHQ/selenium/compare/selenium-4.16.0...selenium-4.17.0)

---
updated-dependencies:
- dependency-name: selenium-webdriver
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-23 13:56:12 +00:00
dependabot[bot]
f14ac02c89 Bump irb from 1.11.0 to 1.11.1
Bumps [irb](https://github.com/ruby/irb) from 1.11.0 to 1.11.1.
- [Release notes](https://github.com/ruby/irb/releases)
- [Commits](https://github.com/ruby/irb/compare/v1.11.0...v1.11.1)

---
updated-dependencies:
- dependency-name: irb
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-10 13:41:40 +00:00
Stephen
3744708453 Merge branch 'dependabot/bundler/net-smtp-0.4.0.1' 2024-01-07 11:33:31 +10:00
Stephen
2e587ef2c4 Set social engineering extension to false by default 2024-01-07 11:33:12 +10:00
dependabot[bot]
8164f7fa49 Bump net-smtp from 0.4.0 to 0.4.0.1
Bumps [net-smtp](https://github.com/ruby/net-smtp) from 0.4.0 to 0.4.0.1.
- [Release notes](https://github.com/ruby/net-smtp/releases)
- [Changelog](https://github.com/ruby/net-smtp/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/net-smtp/compare/v0.4.0...v0.4.0.1)

---
updated-dependencies:
- dependency-name: net-smtp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-07 11:25:15 +10:00
Stephen
bafc006d67 Added sqlite files to .gitignore 2024-01-07 11:22:30 +10:00
Stephen
17e20d4ae8 Add GUID direction in ntfy URL 2024-01-07 10:46:42 +10:00
Stephen
37d95b788b Merge branch 'ntfy-extension' of https://github.com/acidobinario/beef into pr/acidobinario/2934 2024-01-05 08:17:55 +10:00
Federico Videla
d0de620a24 Add ntfy extension 2024-01-05 08:06:49 +10:00
Stephen
7633dc7660 Delete beef.db-wal 2024-01-05 03:39:23 +10:00
Stephen
a444d6e5a4 Delete beef.db-shm 2024-01-05 03:37:40 +10:00
Stephen
d110484294 Update geoip messages 2024-01-04 13:40:13 +10:00
Stephen
01fc227d90 Removed blog from loanding banners 2024-01-04 05:55:39 +10:00
Stephen
ed9e72a56d Silence activerecord migration stdout messages 2024-01-03 15:18:50 +10:00
Stephen
fe41e113ca Added boilerplate 2024-01-03 15:18:22 +10:00
Stephen
e47488bbc9 Tidy Gemfile 2024-01-03 14:53:48 +10:00
Stephen
6d56d6cfcd Tidy Rakefile 2024-01-03 14:50:21 +10:00
Stephen
38a137de08 Merge branch 'dependabot/bundler/rack-protection-and-sinatra-3.2.0' 2024-01-03 14:48:17 +10:00
dependabot[bot]
8539f6dfab Bump mime-types from 3.5.1 to 3.5.2
Bumps [mime-types](https://github.com/mime-types/ruby-mime-types) from 3.5.1 to 3.5.2.
- [Changelog](https://github.com/mime-types/ruby-mime-types/blob/main/History.md)
- [Commits](https://github.com/mime-types/ruby-mime-types/compare/v3.5.1...v3.5.2)

---
updated-dependencies:
- dependency-name: mime-types
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-02 13:13:24 +00:00
dependabot[bot]
b93af516c6 Bump rack-protection and sinatra
Bumps [rack-protection](https://github.com/sinatra/sinatra) and [sinatra](https://github.com/sinatra/sinatra). These dependencies needed to be updated together.

Updates `rack-protection` from 3.0.6 to 3.2.0
- [Changelog](https://github.com/sinatra/sinatra/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sinatra/sinatra/compare/v3.0.6...v3.2.0)

Updates `sinatra` from 3.0.6 to 3.2.0
- [Changelog](https://github.com/sinatra/sinatra/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sinatra/sinatra/compare/v3.0.6...v3.2.0)

---
updated-dependencies:
- dependency-name: rack-protection
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: sinatra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 13:27:20 +00: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
Stephen
da2e4bb9cf Merge branch 'update_copyright' 2023-12-31 14:08:39 +10:00
Stephen
38997fa7e3 Added .gitignore entry for Visual Studio Code 2023-12-31 10:23:35 +10:00
Stephen
7817e98118 update rdoc and rake gem in gemfile.lock 2023-12-31 10:20:35 +10:00
Stephen
6816595935 Merge branch 'dependabot/bundler/otr-activerecord-2.2.0' 2023-12-31 10:14:13 +10:00
Stephen
5eded170ab Upgrade gem 'otr-activerecord', '~> 2.2.0' including adding internal_metadata to the ActiveRecord migration 2023-12-31 10:00:13 +10:00
Stephen
41397b680c Merge branch 'dependabot/bundler/otr-activerecord-2.2.0' of https://github.com/beefproject/beef into dependabot/bundler/otr-activerecord-2.2.0 2023-12-23 10:46:41 +10:00
catatonicprime
a876233579 Report failures too. 2023-12-18 05:53:05 +00:00
catatonicprime
c199cd29e4 Adding plaintext password recovery for Cisco ASA WebVPN Sessions. 2023-12-18 05:38:43 +00:00
dependabot[bot]
4f7c0db274 Bump otr-activerecord from 2.1.2 to 2.2.0
Bumps [otr-activerecord](https://github.com/jhollinger/otr-activerecord) from 2.1.2 to 2.2.0.
- [Changelog](https://github.com/jhollinger/otr-activerecord/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jhollinger/otr-activerecord/compare/v2.1.2...v2.2.0)

---
updated-dependencies:
- dependency-name: otr-activerecord
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30 08:30:59 +00:00
dependabot[bot]
e4d9896c4c Bump otr-activerecord from 2.1.2 to 2.2.0
Bumps [otr-activerecord](https://github.com/jhollinger/otr-activerecord) from 2.1.2 to 2.2.0.
- [Changelog](https://github.com/jhollinger/otr-activerecord/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jhollinger/otr-activerecord/compare/v2.1.2...v2.2.0)

---
updated-dependencies:
- dependency-name: otr-activerecord
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-20 14:08:19 +00:00
Federico Videla
7e89375774 Merge branch 'beefproject:master' into ntfy-extension 2023-09-26 00:12:00 -03:00
Federico Videla
a7862fa524 Add ntfy extension 2023-09-22 18:20:27 -03:00
1305 changed files with 8355 additions and 5495 deletions

View File

@@ -0,0 +1,26 @@
name: Dependabot auto-merge
on:
pull_request:
branches:
- master
permissions:
contents: write
pull-requests: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'beefproject/beef'
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for Dependabot PRs
if: success() && (steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch')
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -4,14 +4,7 @@ on:
pull_request_target:
branches: [ master ]
jobs:
approve:
runs-on: ubuntu-latest
steps:
- name: Approve
run: echo For security reasons, all pull requests need to be approved first before running any automated CI.
jobs:
ubuntu-job:
name: 'BrowserStack Test on Ubuntu'
runs-on: ubuntu-latest # Can be self-hosted runner also
@@ -34,17 +27,16 @@ jobs:
local-identifier: random
- name: 'Checkout the repository'
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 2
- name: 'Setting up Ruby'
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0.3 # Not needed with a .ruby-version file
# Ruby version is defined in .ruby-version file
- name: 'Update and Install Dwpendencies'
- name: 'Update and Install Dependencies'
run: |
sudo apt update
sudo apt install libcurl4 libcurl4-openssl-dev

View File

@@ -21,10 +21,10 @@ jobs:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 7
days-before-pr-stale: 14
days-before-close: 7
days-before-pr-close: 14
days-before-stale: 14
days-before-pr-stale: 29
days-before-close: 11
days-before-pr-close: 31
stale-issue-message: 'This issue as been marked as stale due to inactivity and will be closed in 7 days'
stale-pr-message: 'Stale pull request message'
stale-issue-label: 'Stale'

5
.gitignore vendored
View File

@@ -1,5 +1,7 @@
### BeEF ###
beef.db
beef.db-shm
beef.db-wal
beef.log
test/msf-test
extensions/admin_ui/media/javascript-min/
@@ -25,6 +27,9 @@ coverage/
# BrowserStack
local.log
# Visual Studio Code
.vscode/
# The following lines were created by https://www.gitignore.io
### Linux ###

View File

@@ -1 +1 @@
3.0.3
3.2.2

View File

@@ -1,3 +1,8 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
###########################################################################################################
###########################################################################################################
## ##

39
Gemfile
View File

@@ -1,31 +1,30 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
#gem 'simplecov', require: false, group: :test
gem 'net-smtp', require: false
gem 'json'
gem 'eventmachine', '~> 1.2', '>= 1.2.7'
gem 'thin', '~> 1.8'
gem 'sinatra', '~> 3.0'
gem 'sinatra', '~> 3.2'
gem 'rack', '~> 2.2'
gem 'rack-protection', '~> 3.0.5'
gem 'rack-protection', '~> 3.2.0'
gem 'em-websocket', '~> 0.5.3' # WebSocket support
gem 'uglifier', '~> 4.2'
gem 'mime-types', '~> 3.4', '>= 3.4.1'
gem 'execjs', '~> 2.9'
gem 'mime-types', '~> 3.6'
gem 'execjs', '~> 2.10'
gem 'ansi', '~> 1.5'
gem 'term-ansicolor', :require => 'term/ansicolor'
gem 'rubyzip', '~> 2.3'
gem 'espeak-ruby', '~> 1.1.0' # Text-to-Voice
gem 'rake', '~> 13.1'
# gem 'otr-activerecord', '~> 2.1', '>= 2.1.2'
gem 'otr-activerecord', '= 2.1.2'
gem 'sqlite3', '~> 1.6'
gem 'rubocop', '~> 1.59.0', require: false
gem 'rake', '~> 13.2'
gem 'activerecord', '~> 7.2'
gem 'otr-activerecord', '~> 2.4.0'
gem 'sqlite3', '~> 2.2'
gem 'rubocop', '~> 1.68.0', require: false
# Geolocation support
group :geoip do
@@ -52,7 +51,7 @@ end
# DNS extension
group :ext_dns do
gem 'async-dns', '~> 1.3'
gem 'async', '~> 1.31'
gem 'async', '~> 1.32'
end
# QRcode extension
@@ -63,29 +62,29 @@ end
# For running unit tests
group :test do
gem 'test-unit-full', '~> 0.0.5'
gem 'rspec', '~> 3.12'
gem 'rdoc', '~> 6.6'
gem 'rspec', '~> 3.13'
gem 'rdoc', '~> 6.7'
gem 'browserstack-local', '~> 1.4'
gem 'irb', '~> 1.11'
gem 'irb', '~> 1.14'
gem 'pry-byebug', '~> 3.10', '>= 3.10.1'
gem 'rest-client', '~> 2.1.0'
gem 'websocket-client-simple', '~> 0.6.1'
# curb gem requires curl libraries
# Note: curb gem requires curl libraries
# sudo apt-get install libcurl4-openssl-dev
gem 'curb', '~> 1.0', '>= 1.0.5'
# selenium-webdriver 3.x is incompatible with Firefox version 48 and prior
# Note: selenium-webdriver 3.x is incompatible with Firefox version 48 and prior
# gem 'selenium' # Requires old version of selenium which is no longer available
gem 'geckodriver-helper', '~> 0.24.0'
gem 'selenium-webdriver', '~> 4.16'
gem 'selenium-webdriver', '~> 4.26'
# nokogiri is needed by capybara which may require one of the below commands
# Note: nokogiri is needed by capybara which may require one of the below commands
# sudo apt-get install libxslt-dev libxml2-dev
# sudo port install libxml2 libxslt
gem 'capybara', '~> 3.39'
gem 'capybara', '~> 3.40'
end
source 'https://rubygems.org'

View File

@@ -1,50 +1,64 @@
GEM
remote: https://rubygems.org/
specs:
activemodel (7.0.4.3)
activesupport (= 7.0.4.3)
activerecord (7.0.4.3)
activemodel (= 7.0.4.3)
activesupport (= 7.0.4.3)
activesupport (7.0.4.3)
concurrent-ruby (~> 1.0, >= 1.0.2)
activemodel (7.2.2)
activesupport (= 7.2.2)
activerecord (7.2.2)
activemodel (= 7.2.2)
activesupport (= 7.2.2)
timeout (>= 0.4.0)
activesupport (7.2.2)
base64
benchmark (>= 0.3)
bigdecimal
concurrent-ruby (~> 1.0, >= 1.3.1)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
logger (>= 1.4.2)
minitest (>= 5.1)
tzinfo (~> 2.0)
addressable (2.8.4)
public_suffix (>= 2.0.2, < 6.0)
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
ansi (1.5.0)
archive-zip (0.12.0)
io-like (~> 0.3.0)
ast (2.4.2)
async (1.31.0)
async (1.32.1)
console (~> 1.10)
nio4r (~> 2.3)
timers (~> 4.1)
async-dns (1.3.0)
async-io (~> 1.15)
async-io (1.34.3)
async-io (1.43.2)
async
base64 (0.2.0)
benchmark (0.3.0)
bigdecimal (3.1.8)
browserstack-local (1.4.3)
byebug (11.1.3)
capybara (3.39.2)
capybara (3.40.0)
addressable
matrix
mini_mime (>= 0.1.3)
nokogiri (~> 1.8)
nokogiri (~> 1.11)
rack (>= 1.6.0)
rack-test (>= 0.6.3)
regexp_parser (>= 1.5, < 3.0)
xpath (~> 3.2)
coderay (1.1.3)
concurrent-ruby (1.2.2)
console (1.16.2)
fiber-local
curb (1.0.5)
concurrent-ruby (1.3.4)
connection_pool (2.4.1)
console (1.27.0)
fiber-annotation
fiber-local (~> 1.1)
json
curb (1.0.6)
daemons (1.4.1)
diff-lcs (1.5.0)
domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0)
diff-lcs (1.5.1)
domain_name (0.6.20240107)
drb (2.2.1)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
@@ -52,59 +66,72 @@ GEM
espeak-ruby (1.1.0)
event_emitter (0.2.6)
eventmachine (1.2.7)
execjs (2.9.1)
fiber-local (1.0.0)
execjs (2.10.0)
fiber-annotation (0.2.0)
fiber-local (1.1.0)
fiber-storage
fiber-storage (1.0.0)
geckodriver-helper (0.24.0)
archive-zip (~> 0.7)
hashie (5.0.0)
hashie-forbidden_attributes (0.1.1)
hashie (>= 3.0)
http-accept (1.7.0)
http-cookie (1.0.5)
http-cookie (1.0.7)
domain_name (~> 0.5)
http_parser.rb (0.8.0)
i18n (1.12.0)
i18n (1.14.6)
concurrent-ruby (~> 1.0)
io-console (0.7.1)
io-console (0.7.2)
io-like (0.3.1)
irb (1.11.0)
rdoc
reline (>= 0.3.8)
json (2.6.3)
irb (1.14.1)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
json (2.8.1)
language_server-protocol (3.17.0.3)
logger (1.6.1)
matrix (0.4.2)
maxmind-db (1.2.0)
method_source (1.0.0)
mime-types (3.4.1)
method_source (1.1.0)
mime-types (3.6.0)
logger
mime-types-data (~> 3.2015)
mime-types-data (3.2023.0218.1)
mini_mime (1.1.2)
minitest (5.18.0)
mojo_magick (0.6.7)
mime-types-data (3.2024.1001)
mini_mime (1.1.5)
minitest (5.25.1)
mojo_magick (0.6.8)
msfrpc-client (1.1.2)
msgpack (~> 1)
msgpack (1.6.1)
mustermann (3.0.0)
msgpack (1.7.3)
mustermann (3.0.3)
ruby2_keywords (~> 0.0.1)
net-protocol (0.2.1)
net-protocol (0.2.2)
timeout
net-smtp (0.4.0)
net-smtp (0.5.0)
net-protocol
netrc (0.11.0)
nio4r (2.5.8)
nokogiri (1.15.2-arm64-darwin)
nio4r (2.7.4)
nokogiri (1.16.7-aarch64-linux)
racc (~> 1.4)
nokogiri (1.15.2-x86_64-linux)
nokogiri (1.16.7-arm-linux)
racc (~> 1.4)
otr-activerecord (2.1.2)
activerecord (>= 4.0, < 7.1)
nokogiri (1.16.7-arm64-darwin)
racc (~> 1.4)
nokogiri (1.16.7-x86-linux)
racc (~> 1.4)
nokogiri (1.16.7-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.16.7-x86_64-linux)
racc (~> 1.4)
otr-activerecord (2.4.0)
activerecord (>= 6.0, < 7.3)
hashie-forbidden_attributes (~> 0.1)
parallel (1.24.0)
parallel (1.26.3)
parseconfig (1.1.2)
parser (3.2.2.4)
parser (3.3.5.1)
ast (~> 2.4.1)
racc
power_assert (2.0.3)
power_assert (2.0.4)
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
@@ -113,80 +140,87 @@ GEM
pry (>= 0.13, < 0.15)
psych (5.1.2)
stringio
public_suffix (5.0.1)
qr4r (0.6.1)
public_suffix (6.0.1)
qr4r (0.6.2)
mojo_magick (~> 0.6.5)
rqrcode_core (~> 0.1)
racc (1.7.3)
rack (2.2.7)
rack-protection (3.0.6)
rack
rqrcode_core (~> 1.0)
racc (1.8.1)
rack (2.2.10)
rack-protection (3.2.0)
base64 (>= 0.1.0)
rack (~> 2.2, >= 2.2.4)
rack-test (2.1.0)
rack (>= 1.3)
rainbow (3.1.1)
rake (13.1.0)
rdoc (6.6.2)
rake (13.2.1)
rdoc (6.7.0)
psych (>= 4.0.0)
regexp_parser (2.8.3)
reline (0.4.1)
regexp_parser (2.9.2)
reline (0.5.10)
io-console (~> 0.5)
rest-client (2.1.0)
http-accept (>= 1.7.0, < 2.0)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
rexml (3.2.6)
rqrcode_core (0.2.0)
rr (3.1.0)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.1)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.2)
rexml (3.3.9)
rqrcode_core (1.2.0)
rr (3.1.1)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.2)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.4)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.0)
rubocop (1.59.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.1)
rubocop (1.68.0)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.2.2.4)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.30.0, < 2.0)
regexp_parser (>= 2.4, < 3.0)
rubocop-ast (>= 1.32.2, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.30.0)
parser (>= 3.2.1.0)
rubocop-ast (1.33.1)
parser (>= 3.3.1.0)
ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5)
rubyzip (2.3.2)
rushover (0.3.0)
json
rest-client
selenium-webdriver (4.16.0)
securerandom (0.3.1)
selenium-webdriver (4.26.0)
base64 (~> 0.2)
logger (~> 1.4)
rexml (~> 3.2, >= 3.2.5)
rubyzip (>= 1.2.2, < 3.0)
websocket (~> 1.0)
sinatra (3.0.6)
sinatra (3.2.0)
mustermann (~> 3.0)
rack (~> 2.2, >= 2.2.4)
rack-protection (= 3.0.6)
rack-protection (= 3.2.0)
tilt (~> 2.0)
slack-notifier (2.4.0)
sqlite3 (1.6.9-arm64-darwin)
sqlite3 (1.6.9-x86_64-linux)
stringio (3.1.0)
sqlite3 (2.2.0-aarch64-linux-gnu)
sqlite3 (2.2.0-arm-linux-gnu)
sqlite3 (2.2.0-arm64-darwin)
sqlite3 (2.2.0-x86-linux-gnu)
sqlite3 (2.2.0-x86_64-darwin)
sqlite3 (2.2.0-x86_64-linux-gnu)
stringio (3.1.1)
sync (0.5.0)
term-ansicolor (1.7.1)
term-ansicolor (1.11.2)
tins (~> 1.0)
test-unit (3.5.7)
test-unit (3.6.2)
power_assert
test-unit-context (0.5.1)
test-unit (>= 2.4.0)
@@ -207,21 +241,19 @@ GEM
daemons (~> 1.0, >= 1.0.9)
eventmachine (~> 1.0, >= 1.0.4)
rack (>= 1, < 3)
tilt (2.1.0)
timeout (0.4.0)
tilt (2.4.0)
timeout (0.4.1)
timers (4.3.5)
tins (1.32.1)
tins (1.37.0)
bigdecimal
sync
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
uglifier (4.2.0)
uglifier (4.2.1)
execjs (>= 0.3.0, < 3)
unf (0.1.4)
unf_ext
unf_ext (0.0.8.2)
unicode-display_width (2.5.0)
webrick (1.8.1)
websocket (1.2.10)
unicode-display_width (2.6.0)
webrick (1.9.0)
websocket (1.2.11)
websocket-client-simple (0.6.1)
event_emitter
websocket
@@ -231,45 +263,50 @@ GEM
nokogiri (~> 1.8)
PLATFORMS
arm64-darwin-22
aarch64-linux
arm-linux
arm64-darwin
x86-linux
x86_64-darwin
x86_64-linux
DEPENDENCIES
activerecord (~> 7.2)
ansi (~> 1.5)
async (~> 1.31)
async (~> 1.32)
async-dns (~> 1.3)
browserstack-local (~> 1.4)
capybara (~> 3.39)
capybara (~> 3.40)
curb (~> 1.0, >= 1.0.5)
em-websocket (~> 0.5.3)
erubis (~> 2.7)
espeak-ruby (~> 1.1.0)
eventmachine (~> 1.2, >= 1.2.7)
execjs (~> 2.9)
execjs (~> 2.10)
geckodriver-helper (~> 0.24.0)
irb (~> 1.11)
irb (~> 1.14)
json
maxmind-db (~> 1.2)
mime-types (~> 3.4, >= 3.4.1)
mime-types (~> 3.6)
msfrpc-client (~> 1.1, >= 1.1.2)
net-smtp
otr-activerecord (= 2.1.2)
otr-activerecord (~> 2.4.0)
parseconfig (~> 1.1, >= 1.1.2)
pry-byebug (~> 3.10, >= 3.10.1)
qr4r (~> 0.6.1)
rack (~> 2.2)
rack-protection (~> 3.0.5)
rake (~> 13.0)
rdoc (~> 6.5)
rack-protection (~> 3.2.0)
rake (~> 13.2)
rdoc (~> 6.7)
rest-client (~> 2.1.0)
rspec (~> 3.12)
rubocop (~> 1.59.0)
rspec (~> 3.13)
rubocop (~> 1.68.0)
rubyzip (~> 2.3)
rushover (~> 0.3.0)
selenium-webdriver (~> 4.16)
sinatra (~> 3.0)
selenium-webdriver (~> 4.26)
sinatra (~> 3.2)
slack-notifier (~> 2.4)
sqlite3 (~> 1.6)
sqlite3 (~> 2.2)
term-ansicolor
test-unit-full (~> 0.0.5)
thin (~> 1.8)
@@ -278,4 +315,4 @@ DEPENDENCIES
xmlrpc (~> 0.3.3)
BUNDLED WITH
2.4.8
2.5.18

View File

@@ -1,7 +1,7 @@
===============================================================================
Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
Browser Exploitation Framework (BeEF) - http://beefproject.com
Browser Exploitation Framework (BeEF) - https://beefproject.com
See the file 'doc/COPYING' for copying permission
===============================================================================

View File

@@ -1,7 +1,7 @@
===============================================================================
Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
Browser Exploitation Framework (BeEF) - http://beefproject.com
Browser Exploitation Framework (BeEF) - https://beefproject.com
See the file 'doc/COPYING' for copying permission
===============================================================================

View File

@@ -1,28 +1,27 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
require 'yaml'
require 'bundler/setup'
load 'tasks/otr-activerecord.rake'
#require 'pry-byebug'
task :default => ["spec"]
desc 'Generate API documentation to doc/rdocs/index.html'
task :rdoc do
Rake::Task['rdoc:rerdoc'].invoke
end
## RSPEC
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |task|
task :default => ["short"]
RSpec::Core::RakeTask.new(:short) do |task|
task.rspec_opts = ['--tag ~run_on_browserstack', '--tag ~run_on_long_tests']
end
RSpec::Core::RakeTask.new(:long) do |task|
task.rspec_opts = ['--tag ~run_on_browserstack']
end
RSpec::Core::RakeTask.new(:long_only) do |task|
task.rspec_opts = ['--tag ~run_on_browserstack', '--tag run_on_long_tests']
end
################################
# Browserstack
RSpec::Core::RakeTask.new(:browserstack) do |task|
task.rspec_opts = ['--tag run_on_browserstack']
end
@@ -55,7 +54,7 @@ namespace :ssl do
end
Rake::Task['ssl:replace'].invoke
end
desc 'Re-generate SSL certificate'
task :replace do
if File.file?('/usr/local/bin/openssl')
@@ -70,6 +69,14 @@ namespace :ssl do
end
end
################################
# Generate API documentation
desc 'Generate API documentation to doc/rdocs/index.html'
task :rdoc do
Rake::Task['rdoc:rerdoc'].invoke
end
################################
# rdoc
@@ -115,7 +122,6 @@ end
@beef_process_id = nil;
@beef_config_file = 'tmp/rk_beef_conf.yaml';
task :beef_start => 'beef' do
# read environment param for creds or use bad_fred
test_user = ENV['TEST_BEEF_USER'] || 'bad_fred'
@@ -190,24 +196,6 @@ file '/tmp/msf-test/msfconsole' do
sh "cd test;git clone https://github.com/rapid7/metasploit-framework.git /tmp/msf-test"
end
################################
# Create Mac DMG File
task :dmg do
puts "\nCreating Working Directory\n";
sh "mkdir dmg";
sh "mkdir dmg/BeEF";
sh "rsync * dmg/BeEF --exclude=dmg -r";
sh "ln -s /Applications dmg/";
puts "\nCreating DMG File\n"
sh "hdiutil create ./BeEF.dmg -srcfolder dmg -volname BeEF -ov";
puts "\nCleaning Up\n"
sh "rm -r dmg";
puts "\nBeEF.dmg created\n"
end
################################
# ActiveRecord
namespace :db do

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#

12
beef
View File

@@ -2,7 +2,7 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
@@ -194,7 +194,6 @@ end
# Connect to DB
ActiveRecord::Base.logger = nil
OTR::ActiveRecord.migrations_paths = [File.join('core', 'main', 'ar-migrations')]
OTR::ActiveRecord.configure_from_hash!(adapter:'sqlite3', database:db_file)
# otr-activerecord require you to manually establish the connection with the following line
#Also a check to confirm that the correct Gem version is installed to require it, likely easier for old systems.
@@ -203,10 +202,13 @@ if Gem.loaded_specs['otr-activerecord'].version > Gem::Version.create('1.4.2')
end
# Migrate (if required)
context = ActiveRecord::Migration.new.migration_context
ActiveRecord::Migration.verbose = false # silence activerecord migration stdout messages
ActiveRecord::Migrator.migrations_paths = [File.join('core', 'main', 'ar-migrations')]
context = ActiveRecord::MigrationContext.new(ActiveRecord::Migrator.migrations_paths)
if context.needs_migration?
ActiveRecord::Migrator.new(:up, context.migrations, context.schema_migration).migrate
ActiveRecord::Migrator.new(:up, context.migrations, context.schema_migration, context.internal_metadata).migrate
end
#
# @note Extensions may take a moment to load, thus we print out a please wait message
#
@@ -242,6 +244,8 @@ BeEF::Core::Console::Banners.print_loaded_extensions
BeEF::Core::Console::Banners.print_loaded_modules
BeEF::Core::Console::Banners.print_network_interfaces_count
BeEF::Core::Console::Banners.print_network_interfaces_routes
BeEF::Core::Console::Banners.print_http_proxy
BeEF::Core::Console::Banners.print_dns
#
# @note Prints the API key needed to use the RESTful API

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
# BeEF Configuration file
@@ -146,6 +146,6 @@ beef:
metasploit:
enable: false
social_engineering:
enable: true
enable: false
xssrays:
enable: true

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF
@@ -46,7 +46,7 @@ module BeEF
return false if has_non_printable_char?(str)
return true if str.eql? 'UNKNOWN'
return true if str.eql? 'ALL'
return false if !nums_only?(str) and !is_valid_float?(str)
return false if !nums_only?(str) and !str.match(/\A(0|[1-9][0-9]{0,3})(\.(0|[1-9][0-9]{0,3})){0,3}\z/)
return false if str.length > 20
true

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#

View File

@@ -4,8 +4,8 @@ class CreateHttp < ActiveRecord::Migration[6.0]
t.text :hooked_browser_id
# The http request to perform. In clear text.
t.text :request
# Boolean value as string to say whether cross-domain requests are allowed
t.boolean :allow_cross_domain, default: true
# Boolean value as string to say whether cross-origin requests are allowed
t.boolean :allow_cross_origin, default: true
# The http response body received. In clear text.
t.text :response_data
# The http response code. Useful to handle cases like 404, 500, 302, ...
@@ -26,7 +26,7 @@ class CreateHttp < ActiveRecord::Migration[6.0]
t.text :domain
# The port on which perform the request.
t.text :port
# Boolean value to say if the request was cross-domain
# Boolean value to say if the request was cross-origin
t.text :has_ran, default: 'waiting'
# The path of the request.
# Example: /secret.html

View File

@@ -5,7 +5,7 @@ class CreateXssraysScan < ActiveRecord::Migration[6.0]
t.datetime :scan_start
t.datetime :scan_finish
t.text :domain
t.text :cross_domain
t.text :cross_origin
t.integer :clean_timeout
t.boolean :is_started
t.boolean :is_finished

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF
@@ -105,6 +105,99 @@ module BeEF
{ 'success' => false, 'error' => e.message }
end
# Update an ARE rule set.
# @param [Hash] ARE rule ID.
# @param [Hash] ARE ruleset as JSON
# @return [Hash] {"success": Boolean, "rule_id": Integer, "error": String}
def update_rule_json(id, data)
# Quite similar in implementation to load_rule_json. Might benefit from a refactor.
name = data['name'] || ''
author = data['author'] || ''
browser = data['browser'] || 'ALL'
browser_version = data['browser_version'] || 'ALL'
os = data['os'] || 'ALL'
os_version = data['os_version'] || 'ALL'
modules = data['modules']
execution_order = data['execution_order']
execution_delay = data['execution_delay']
chain_mode = data['chain_mode'] || 'sequential'
begin
BeEF::Core::AutorunEngine::Parser.instance.parse(
name,
author,
browser,
browser_version,
os,
os_version,
modules,
execution_order,
execution_delay,
chain_mode
)
rescue => e
print_error("[ARE] Error updating ruleset (#{name}): #{e.message}")
return { 'success' => false, 'error' => e.message }
end
existing_rule = BeEF::Core::Models::Rule.where(
name: name,
author: author,
browser: browser,
browser_version: browser_version,
os: os,
os_version: os_version,
modules: modules.to_json,
execution_order: execution_order.to_s,
execution_delay: execution_delay.to_s,
chain_mode: chain_mode
).first
unless existing_rule.nil?
msg = "Duplicate rule already exists in the database (ID: #{existing_rule.id})"
print_info("[ARE] Skipping ruleset (#{name}): #{msg}")
return { 'success' => false, 'error' => msg }
end
old_are_rule = BeEF::Core::Models::Rule.find_by(id: id)
old_are_rule.update(
name: name,
author: author,
browser: browser,
browser_version: browser_version,
os: os,
os_version: os_version,
modules: modules.to_json,
execution_order: execution_order.to_s,
execution_delay: execution_delay.to_s,
chain_mode: chain_mode
)
print_info("[ARE] Ruleset (#{name}) updated successfully.")
if @debug_on
print_more "Target Browser: #{browser} (#{browser_version})"
print_more "Target OS: #{os} (#{os_version})"
print_more 'Modules to run:'
modules.each do |mod|
print_more "(*) Name: #{mod['name']}"
print_more "(*) Condition: #{mod['condition']}"
print_more "(*) Code: #{mod['code']}"
print_more '(*) Options:'
mod['options'].each do |key, value|
print_more "\t#{key}: (#{value})"
end
end
print_more "Exec order: #{execution_order}"
print_more "Exec delay: #{exec_delay}"
end
{ 'success' => true }
rescue TypeError, ArgumentError => e
print_error("[ARE] Failed to update ruleset (#{name}): #{e.message}")
{ 'success' => false, 'error' => e.message }
end
# Load an ARE ruleset from file
# @param [String] JSON ARE ruleset file path
def load_rule_file(json_rule_path)

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// Browser Exploitation Framework (BeEF) - https://beefproject.com
// See the file 'doc/COPYING' for copying permission
//

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// Browser Exploitation Framework (BeEF) - https://beefproject.com
// See the file 'doc/COPYING' for copying permission
//

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// Browser Exploitation Framework (BeEF) - https://beefproject.com
// See the file 'doc/COPYING' for copying permission
//
@@ -944,14 +944,25 @@ beef.browser = {
*/
isFF99: function () {
return !!window.devicePixelRatio && !!window.history.replaceState && (this.getProtocol() == "https:" ? typeof navigator.mozGetUserMedia != "undefined" : true) && (typeof window.crypto != "undefined" && typeof window.crypto.getRandomValues != "undefined") && typeof Math.hypot == 'function' && typeof String.prototype.codePointAt === 'function' && typeof Number.isSafeInteger === 'function' && window.navigator.userAgent.match(/Firefox\/99./) != null;
},
/**
* Returns true if the browser is any version of Firefox.
* @example: beef.browser.isFFbowser()
*/
isFFbowser: function () {
const parser = bowser.getParser(navigator.userAgent);
const browserName = parser.getBrowserName();
return browserName == 'Firefox';
},
/**
* Returns true if FF.
* Returns true if the browser is any version of Firefox.
* @example: beef.browser.isFF()
*/
isFF: function () {
return this.isFF2() || this.isFF3() || this.isFF3_5() || this.isFF3_6() || this.isFF4() || this.isFF5() || this.isFF6() || this.isFF7() || this.isFF8() || this.isFF9() || this.isFF10() || this.isFF11() || this.isFF12() || this.isFF13() || this.isFF14() || this.isFF15() || this.isFF16() || this.isFF17() || this.isFF18() || this.isFF19() || this.isFF20() || this.isFF21() || this.isFF22() || this.isFF23() || this.isFF24() || this.isFF25() || this.isFF26() || this.isFF27() || this.isFF28() || this.isFF29() || this.isFF30() || this.isFF31() || this.isFF32() || this.isFF33() || this.isFF34() || this.isFF35() || this.isFF36() || this.isFF37() || this.isFF38() || this.isFF39() || this.isFF40() || this.isFF41() || this.isFF42() || this.isFF43() || this.isFF44() || this.isFF45() || this.isFF46() || this.isFF47() || this.isFF48() || this.isFF49() || this.isFF50() || this.isFF51() || this.isFF52() || this.isFF53() || this.isFF54() || this.isFF55() || this.isFF56() || this.isFF57() || this.isFF58()|| this.isFF59() || this.isFF60() || this.isFF61() || this.isFF62() || this.isFF63() || this.isFF64() || this.isFF65() || this.isFF66() || this.isFF67() || this.isFF68() || this.isFF69() || this.isFF70() || this.isFF71() || this.isFF72() || this.isFF73() || this.isFF74() || this.isFF75() || this.isFF76() || this.isFF77() || this.isFF78() || this.isFF79() || this.isFF80() || this.isFF81() || this.isFF82() || this.isFF83() || this.isFF84() || this.isFF85() || this.isFF86() || this.isFF87() || this.isFF88() || this.isFF89() || this.isFF90() || this.isFF91() || this.isFF92() || this.isFF93() || this.isFF94() || this.isFF95() || this.isFF96() || this.isFF97() || this.isFF98() || this.isFF99();
var legacyCheck = this.isFF2() || this.isFF3() || this.isFF3_5() || this.isFF3_6() || this.isFF4() || this.isFF5() || this.isFF6() || this.isFF7() || this.isFF8() || this.isFF9() || this.isFF10() || this.isFF11() || this.isFF12() || this.isFF13() || this.isFF14() || this.isFF15() || this.isFF16() || this.isFF17() || this.isFF18() || this.isFF19() || this.isFF20() || this.isFF21() || this.isFF22() || this.isFF23() || this.isFF24() || this.isFF25() || this.isFF26() || this.isFF27() || this.isFF28() || this.isFF29() || this.isFF30() || this.isFF31() || this.isFF32() || this.isFF33() || this.isFF34() || this.isFF35() || this.isFF36() || this.isFF37() || this.isFF38() || this.isFF39() || this.isFF40() || this.isFF41() || this.isFF42() || this.isFF43() || this.isFF44() || this.isFF45() || this.isFF46() || this.isFF47() || this.isFF48() || this.isFF49() || this.isFF50() || this.isFF51() || this.isFF52() || this.isFF53() || this.isFF54() || this.isFF55() || this.isFF56() || this.isFF57() || this.isFF58()|| this.isFF59() || this.isFF60() || this.isFF61() || this.isFF62() || this.isFF63() || this.isFF64() || this.isFF65() || this.isFF66() || this.isFF67() || this.isFF68() || this.isFF69() || this.isFF70() || this.isFF71() || this.isFF72() || this.isFF73() || this.isFF74() || this.isFF75() || this.isFF76() || this.isFF77() || this.isFF78() || this.isFF79() || this.isFF80() || this.isFF81() || this.isFF82() || this.isFF83() || this.isFF84() || this.isFF85() || this.isFF86() || this.isFF87() || this.isFF88() || this.isFF89() || this.isFF90() || this.isFF91() || this.isFF92() || this.isFF93() || this.isFF94() || this.isFF95() || this.isFF96() || this.isFF97() || this.isFF98() || this.isFF99();
return legacyCheck || this.isFFbowser();
},
/**
@@ -2438,12 +2449,23 @@ beef.browser = {
return (!window.webkitPerformance && window.navigator.appVersion.match(/CriOS\/(\d+)\./) != null) && ((parseInt(window.navigator.appVersion.match(/CriOS\/(\d+)\./)[1], 10) == 99) ? true : false);
},
/**
* Returns true for modern versions of Chrome (above 9).
* @example: beef.browser.isCbowser()
*/
isCbowser: function () {
const parser = bowser.getParser(navigator.userAgent);
const browserName = parser.getBrowserName();
return browserName == 'Chrome';
},
/**
* Returns true if Chrome.
* @example: beef.browser.isC()
*/
isC: function () {
return this.isC5() || this.isC6() || this.isC7() || this.isC8() || this.isC9() || this.isC10() || this.isC11() || this.isC12() || this.isC13() || this.isC14() || this.isC15() || this.isC16() || this.isC17() || this.isC18() || this.isC19() || this.isC19iOS() || this.isC20() || this.isC20iOS() || this.isC21() || this.isC21iOS() || this.isC22() || this.isC22iOS() || this.isC23() || this.isC23iOS() || this.isC24() || this.isC24iOS() || this.isC25() || this.isC25iOS() || this.isC26() || this.isC26iOS() || this.isC27() || this.isC27iOS() || this.isC28() || this.isC28iOS() || this.isC29() || this.isC29iOS() || this.isC30() || this.isC30iOS() || this.isC31() || this.isC31iOS() || this.isC32() || this.isC32iOS() || this.isC33() || this.isC33iOS() || this.isC34() || this.isC34iOS() || this.isC35() || this.isC35iOS() || this.isC36() || this.isC36iOS() || this.isC37() || this.isC37iOS() || this.isC38() || this.isC38iOS() || this.isC39() || this.isC39iOS() || this.isC40() || this.isC40iOS() || this.isC41() || this.isC41iOS() || this.isC42() || this.isC42iOS() || this.isC43() || this.isC43iOS() || this.isC44() || this.isC44iOS() || this.isC45() || this.isC45iOS() || this.isC46() || this.isC46iOS() || this.isC47() || this.isC47iOS() || this.isC48() || this.isC48iOS() || this.isC49() || this.isC49iOS() || this.isC50() || this.isC50iOS() || this.isC51() || this.isC51iOS() || this.isC52() || this.isC52iOS() || this.isC53() || this.isC53iOS() || this.isC54() || this.isC54iOS() || this.isC55() || this.isC55iOS() || this.isC56() || this.isC56iOS() || this.isC57() || this.isC57iOS() || this.isC58() || this.isC58iOS() || this.isC59() || this.isC59iOS()|| this.isC60() || this.isC60iOS()|| this.isC61() || this.isC61iOS()|| this.isC62() || this.isC62iOS()|| this.isC63() || this.isC63iOS()|| this.isC64() || this.isC64iOS()|| this.isC65() || this.isC65iOS()|| this.isC66() || this.isC66iOS()|| this.isC67() || this.isC67iOS()|| this.isC68() || this.isC68iOS()|| this.isC69() || this.isC69iOS()|| this.isC70() || this.isC70iOS()|| this.isC71() || this.isC71iOS()|| this.isC72() || this.isC72iOS()|| this.isC73() || this.isC73iOS()|| this.isC74() || this.isC74iOS()|| this.isC75() || this.isC75iOS()|| this.isC76() || this.isC76iOS()|| this.isC77() || this.isC77iOS()|| this.isC78() || this.isC78iOS()|| this.isC79() || this.isC79iOS()|| this.isC80() || this.isC80iOS()|| this.isC81() || this.isC81iOS()|| this.isC82() || this.isC82iOS()|| this.isC83() || this.isC83iOS()|| this.isC84() || this.isC84iOS()|| this.isC85() || this.isC85iOS()|| this.isC86() || this.isC86iOS()|| this.isC87() || this.isC87iOS()|| this.isC88() || this.isC88iOS()|| this.isC89() || this.isC89iOS()|| this.isC90() || this.isC90iOS()|| this.isC91() || this.isC91iOS()|| this.isC92() || this.isC92iOS()|| this.isC93() || this.isC93iOS()|| this.isC94() || this.isC94iOS()|| this.isC95() || this.isC95iOS()|| this.isC96() || this.isC96iOS()|| this.isC97() || this.isC97iOS()|| this.isC98() || this.isC98iOS()|| this.isC99() || this.isC99iOS();
var legacyCheck = this.isC5() || this.isC6() || this.isC7() || this.isC8() || this.isC9() || this.isC10() || this.isC11() || this.isC12() || this.isC13() || this.isC14() || this.isC15() || this.isC16() || this.isC17() || this.isC18() || this.isC19() || this.isC19iOS() || this.isC20() || this.isC20iOS() || this.isC21() || this.isC21iOS() || this.isC22() || this.isC22iOS() || this.isC23() || this.isC23iOS() || this.isC24() || this.isC24iOS() || this.isC25() || this.isC25iOS() || this.isC26() || this.isC26iOS() || this.isC27() || this.isC27iOS() || this.isC28() || this.isC28iOS() || this.isC29() || this.isC29iOS() || this.isC30() || this.isC30iOS() || this.isC31() || this.isC31iOS() || this.isC32() || this.isC32iOS() || this.isC33() || this.isC33iOS() || this.isC34() || this.isC34iOS() || this.isC35() || this.isC35iOS() || this.isC36() || this.isC36iOS() || this.isC37() || this.isC37iOS() || this.isC38() || this.isC38iOS() || this.isC39() || this.isC39iOS() || this.isC40() || this.isC40iOS() || this.isC41() || this.isC41iOS() || this.isC42() || this.isC42iOS() || this.isC43() || this.isC43iOS() || this.isC44() || this.isC44iOS() || this.isC45() || this.isC45iOS() || this.isC46() || this.isC46iOS() || this.isC47() || this.isC47iOS() || this.isC48() || this.isC48iOS() || this.isC49() || this.isC49iOS() || this.isC50() || this.isC50iOS() || this.isC51() || this.isC51iOS() || this.isC52() || this.isC52iOS() || this.isC53() || this.isC53iOS() || this.isC54() || this.isC54iOS() || this.isC55() || this.isC55iOS() || this.isC56() || this.isC56iOS() || this.isC57() || this.isC57iOS() || this.isC58() || this.isC58iOS() || this.isC59() || this.isC59iOS()|| this.isC60() || this.isC60iOS()|| this.isC61() || this.isC61iOS()|| this.isC62() || this.isC62iOS()|| this.isC63() || this.isC63iOS()|| this.isC64() || this.isC64iOS()|| this.isC65() || this.isC65iOS()|| this.isC66() || this.isC66iOS()|| this.isC67() || this.isC67iOS()|| this.isC68() || this.isC68iOS()|| this.isC69() || this.isC69iOS()|| this.isC70() || this.isC70iOS()|| this.isC71() || this.isC71iOS()|| this.isC72() || this.isC72iOS()|| this.isC73() || this.isC73iOS()|| this.isC74() || this.isC74iOS()|| this.isC75() || this.isC75iOS()|| this.isC76() || this.isC76iOS()|| this.isC77() || this.isC77iOS()|| this.isC78() || this.isC78iOS()|| this.isC79() || this.isC79iOS()|| this.isC80() || this.isC80iOS()|| this.isC81() || this.isC81iOS()|| this.isC82() || this.isC82iOS()|| this.isC83() || this.isC83iOS()|| this.isC84() || this.isC84iOS()|| this.isC85() || this.isC85iOS()|| this.isC86() || this.isC86iOS()|| this.isC87() || this.isC87iOS()|| this.isC88() || this.isC88iOS()|| this.isC89() || this.isC89iOS()|| this.isC90() || this.isC90iOS()|| this.isC91() || this.isC91iOS()|| this.isC92() || this.isC92iOS()|| this.isC93() || this.isC93iOS()|| this.isC94() || this.isC94iOS()|| this.isC95() || this.isC95iOS()|| this.isC96() || this.isC96iOS()|| this.isC97() || this.isC97iOS()|| this.isC98() || this.isC98iOS()|| this.isC99() || this.isC99iOS();
return legacyCheck || this.isCbowser();
},
/**
@@ -2486,12 +2508,23 @@ beef.browser = {
return (!!window.opera && (window.navigator.userAgent.match(/Opera\/9\.80.*Version\/12\./) != null));
},
/**
* Returns true if the browser is any version of Opera.
* @example: beef.browser.isObowser()
*/
isObowser: function () {
const parser = bowser.getParser(navigator.userAgent);
const browserName = parser.getBrowserName();
return browserName == 'Opera';
},
/**
* Returns true if Opera.
* @example: beef.browser.isO()
*/
isO: function () {
return this.isO9_52() || this.isO9_60() || this.isO10() || this.isO11() || this.isO12();
var legacyCheck = this.isO9_52() || this.isO9_60() || this.isO10() || this.isO11() || this.isO12();
return legacyCheck || this.isObowser();
},
/**
@@ -4265,9 +4298,6 @@ beef.browser = {
try {
var cookies = document.cookie;
/* Never stop the madness dear C.
* var veglol = beef.browser.cookie.veganLol();
*/
if (cookies) details['browser.window.cookies'] = cookies;
} catch (e) {
beef.debug("Cookies can't be read. The hooked origin is most probably using HttpOnly.");

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// Browser Exploitation Framework (BeEF) - https://beefproject.com
// See the file 'doc/COPYING' for copying permission
//
@@ -72,7 +72,7 @@ beef.browser.cookie = {
},
/** @memberof beef.browser.cookie */
veganLol: function (){
cookieValueRandomizer: function (){
var to_hell= '';
var min = 17;
var max = 25;
@@ -100,7 +100,7 @@ beef.browser.cookie = {
},
/** @memberof beef.browser.cookie */
hasSessionCookies: function (name){
this.setCookie( name, beef.browser.cookie.veganLol(), '', '/', '', '' );
this.setCookie( name, beef.browser.cookie.cookieValueRandomizer(), '', '/', '', '' );
cookiesEnabled = (this.getCookie(name) == null)? false:true;
this.deleteCookie(name, '/', '');
@@ -109,7 +109,7 @@ beef.browser.cookie = {
},
/** @memberof beef.browser.cookie */
hasPersistentCookies: function (name){
this.setCookie( name, beef.browser.cookie.veganLol(), 1, '/', '', '' );
this.setCookie( name, beef.browser.cookie.cookieValueRandomizer(), 1, '/', '', '' );
cookiesEnabled = (this.getCookie(name) == null)? false:true;
this.deleteCookie(name, '/', '');

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// Browser Exploitation Framework (BeEF) - https://beefproject.com
// See the file 'doc/COPYING' for copying permission
//

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// Browser Exploitation Framework (BeEF) - https://beefproject.com
// See the file 'doc/COPYING' for copying permission
//

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// Browser Exploitation Framework (BeEF) - https://beefproject.com
// See the file 'doc/COPYING' for copying permission
//

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// Browser Exploitation Framework (BeEF) - https://beefproject.com
// See the file 'doc/COPYING' for copying permission
//

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// Browser Exploitation Framework (BeEF) - https://beefproject.com
// See the file 'doc/COPYING' for copying permission
//

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// Browser Exploitation Framework (BeEF) - https://beefproject.com
// See the file 'doc/COPYING' for copying permission
//

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// Browser Exploitation Framework (BeEF) - https://beefproject.com
// See the file 'doc/COPYING' for copying permission
//

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// Browser Exploitation Framework (BeEF) - https://beefproject.com
// See the file 'doc/COPYING' for copying permission
//
@@ -31,7 +31,7 @@
* for example, if someone deletes all but one type of cookie, once
* that cookie is re-discovered, all of the other cookie types get reset
*
* !!! SOME OF THESE ARE CROSS-DOMAIN COOKIES, THIS MEANS
* !!! SOME OF THESE ARE CROSS-ORIGIN COOKIES, THIS MEANS
* OTHER SITES WILL BE ABLE TO READ SOME OF THESE COOKIES !!!
*
* USAGE:
@@ -803,7 +803,7 @@ this.evercookie_cookie = function(name, value)
else
return this.getFromStr(name, document.cookie);
}catch(e){
// the hooked domain is using HttpOnly, so we must set the hook ID in a different way.
// the hooked origin is using HttpOnly, so we must set the hook ID in a different way.
// evercookie_userdata and evercookie_window will be used in this case.
}
};

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// Browser Exploitation Framework (BeEF) - https://beefproject.com
// See the file 'doc/COPYING' for copying permission
//

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// Browser Exploitation Framework (BeEF) - https://beefproject.com
// See the file 'doc/COPYING' for copying permission
//
@@ -38,7 +38,7 @@ beef.mitb = {
if (method == "GET") {
//GET request -> cross-origin
if (url.indexOf(document.location.hostname) == -1 || (portR != null && requestPort != document.location.port )) {
beef.mitb.sniff("GET [Ajax CrossDomain Request]: " + url);
beef.mitb.sniff("GET [Ajax CrossOrigin Request]: " + url);
window.open(url);
}else { //GET request -> same-origin
beef.mitb.sniff("GET [Ajax Request]: " + url);

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// Browser Exploitation Framework (BeEF) - https://beefproject.com
// See the file 'doc/COPYING' for copying permission
//
@@ -74,7 +74,7 @@ beef.net = {
this.status_text = null; // success, timeout, error, ...
this.response_body = null; // "<html>…." if not a cross-origin request
this.port_status = null; // tcp port is open, closed or not http
this.was_cross_domain = null; // true or false
this.was_cross_origin = null; // true or false
this.was_timedout = null; // the user specified timeout was reached
this.duration = null; // how long it took for the request to complete
this.headers = null; // full response headers
@@ -217,11 +217,11 @@ beef.net = {
* @return {Object} this object contains the response details
*/
request: function (scheme, method, domain, port, path, anchor, data, timeout, dataType, callback) {
//check if same domain or cross domain
var cross_domain = true;
//check if same origin or cross origin
var cross_origin = true;
if (document.domain == domain.replace(/(\r\n|\n|\r)/gm, "")) { //strip eventual line breaks
if (document.location.port == "" || document.location.port == null) {
cross_domain = !(port == "80" || port == "443");
cross_origin = !(port == "80" || port == "443");
}
}
@@ -238,12 +238,12 @@ beef.net = {
//define response object
var response = new this.response;
response.was_cross_domain = cross_domain;
response.was_cross_origin = cross_origin;
var start_time = new Date().getTime();
/*
* according to http://api.jquery.com/jQuery.ajax/, Note: having 'script':
* This will turn POSTs into GETs for remote-domain requests.
* This will turn POSTs into GETs for cross origin requests.
*/
if (method == "POST") {
$j.ajaxSetup({
@@ -310,7 +310,7 @@ beef.net = {
/**
* Similar to beef.net.request, except from a few things that are needed when dealing with forged requests:
* - requestid: needed on the callback
* - allowCrossDomain: set cross-domain requests as allowed or blocked
* - allowCrossOrigin: set cross-origin requests as allowed or blocked
*
* forge_request is used mainly by the Requester and Tunneling Proxy Extensions.
* Example usage:
@@ -318,20 +318,20 @@ beef.net = {
* true, null, { foo: "bar" }, 5, 'html', false, null, function(response) {
* alert(response.response_body)})
*/
forge_request: function (scheme, method, domain, port, path, anchor, headers, data, timeout, dataType, allowCrossDomain, requestid, callback) {
forge_request: function (scheme, method, domain, port, path, anchor, headers, data, timeout, dataType, allowCrossOrigin, requestid, callback) {
if (domain == "undefined" || path == "undefined") {
beef.debug("[beef.net.forge_request] Error: Malformed request. No host specified.");
return;
}
// check if same domain or cross domain
var cross_domain = true;
// check if same origin or cross origin
var cross_origin = true;
if (document.domain == domain && document.location.protocol == scheme + ':') {
if (document.location.port == "" || document.location.port == null) {
cross_domain = !(port == "80" || port == "443");
cross_origin = !(port == "80" || port == "443");
} else {
if (document.location.port == port) cross_domain = false;
if (document.location.port == port) cross_origin = false;
}
}
@@ -348,23 +348,23 @@ beef.net = {
// define response object
var response = new this.response;
response.was_cross_domain = cross_domain;
response.was_cross_origin = cross_origin;
var start_time = new Date().getTime();
// if cross-domain requests are not allowed and the request is cross-domain
// if cross-origin requests are not allowed and the request is cross-origin
// don't proceed and return
if (allowCrossDomain == "false" && cross_domain) {
if (allowCrossOrigin == "false" && cross_origin) {
beef.debug("[beef.net.forge_request] Error: Cross Domain Request. The request was not sent.");
response.status_code = -1;
response.status_text = "crossdomain";
response.port_status = "crossdomain";
response.status_text = "crossorigin";
response.port_status = "crossorigin";
response.response_body = "ERROR: Cross Domain Request. The request was not sent.\n";
response.headers = "ERROR: Cross Domain Request. The request was not sent.\n";
if (callback != null) callback(response, requestid);
return response;
}
// if the request was cross-domain from a HTTPS origin to HTTP
// if the request was cross-origin from a HTTPS origin to HTTP
// don't proceed and return
if (document.location.protocol == 'https:' && scheme == 'http') {
beef.debug("[beef.net.forge_request] Error: Mixed Active Content. The request was not sent.");
@@ -379,7 +379,7 @@ beef.net = {
/*
* according to http://api.jquery.com/jQuery.ajax/, Note: having 'script':
* This will turn POSTs into GETs for remote-domain requests.
* This will turn POSTs into GETs for cross origin requests.
*/
if (method == "POST") {
$j.ajaxSetup({
@@ -432,10 +432,10 @@ beef.net = {
},
complete: function (xhr, textStatus) {
// cross-domain request
if (cross_domain) {
// cross-origin request
if (cross_origin) {
response.port_status = "crossdomain";
response.port_status = "crossorigin";
if (xhr.status != 0) {
response.status_code = xhr.status;
@@ -446,7 +446,7 @@ beef.net = {
if (textStatus) {
response.status_text = textStatus;
} else {
response.status_text = "crossdomain";
response.status_text = "crossorigin";
}
if (xhr.getAllResponseHeaders()) {
@@ -460,7 +460,7 @@ beef.net = {
}
} else {
// same-domain request
// same-origin request
response.status_code = xhr.status;
response.status_text = textStatus;
response.headers = xhr.getAllResponseHeaders();

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// Browser Exploitation Framework (BeEF) - https://beefproject.com
// See the file 'doc/COPYING' for copying permission
//

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// Browser Exploitation Framework (BeEF) - https://beefproject.com
// See the file 'doc/COPYING' for copying permission
//

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// Browser Exploitation Framework (BeEF) - https://beefproject.com
// See the file 'doc/COPYING' for copying permission
//

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// Browser Exploitation Framework (BeEF) - https://beefproject.com
// See the file 'doc/COPYING' for copying permission
//

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// Browser Exploitation Framework (BeEF) - https://beefproject.com
// See the file 'doc/COPYING' for copying permission
//
@@ -25,7 +25,7 @@ beef.net.requester = {
request = requests_array[i];
if (request.proto == 'https') var scheme = 'https'; else var scheme = 'http';
beef.debug('[Requester] ' + request.method + ' ' + scheme + '://' + request.host + ':' + request.port + request.uri + ' - Data: ' + request.data);
beef.net.forge_request(scheme, request.method, request.host, request.port, request.uri, null, request.headers, request.data, 10, null, request.allowCrossDomain, request.id,
beef.net.forge_request(scheme, request.method, request.host, request.port, request.uri, null, request.headers, request.data, 10, null, request.allowCrossOrigin, request.id,
function(res, requestid) { beef.net.send('/requester', requestid, {
response_data: res.response_body,
response_status_code: res.status_code,

View File

@@ -171,7 +171,7 @@ beef.net.xssrays = {
this.xss({href:url.href, pathname:url.pathname, hostname:url.hostname, port: url.port, protocol: location.protocol,
search:url.search, type: 'url'});//scan each link & param
} else {
beef.debug('Scan is not Cross-domain. URLS\nurl :' + url.hostname.toString());
beef.debug('Scan is not Cross-origin. URLS\nurl :' + url.hostname.toString());
beef.debug('\nlocation :' + location.hostname.toString());
}
}
@@ -251,7 +251,7 @@ beef.net.xssrays = {
continue;
}
if (!this.crossDomain && (this.host(action).toString() != this.host(location.toString()))) {
beef.debug('Scan is not Cross-domain. FormPost\naction :' + this.host(action).toString());
beef.debug('Scan is not Cross-origin. FormPost\naction :' + this.host(action).toString());
beef.debug('location :' + this.host(location));
continue;
}

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// Browser Exploitation Framework (BeEF) - https://beefproject.com
// See the file 'doc/COPYING' for copying permission
//

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// Browser Exploitation Framework (BeEF) - https://beefproject.com
// See the file 'doc/COPYING' for copying permission
//

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// Browser Exploitation Framework (BeEF) - https://beefproject.com
// See the file 'doc/COPYING' for copying permission
//

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// Browser Exploitation Framework (BeEF) - https://beefproject.com
// See the file 'doc/COPYING' for copying permission
//

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// Browser Exploitation Framework (BeEF) - https://beefproject.com
// See the file 'doc/COPYING' for copying permission
//

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// Browser Exploitation Framework (BeEF) - https://beefproject.com
// See the file 'doc/COPYING' for copying permission
//

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
@@ -26,7 +26,6 @@ module BeEF
begin
# open base config
@config = load(config)
# set default value if key? does not exist
@config.default = nil
@@config = config
rescue StandardError => e
@@ -72,10 +71,12 @@ module BeEF
return unless validate_public_config_variable?(@config)
# Note for developers:
# The configuration path 'beef.http.public_port' is deprecated.
# Use the new format for public_port variables as described in the BeEF project documentation.
# Refer to the BeEF configuration guide for the web server configuration details:
# https://github.com/beefproject/beef/wiki/Configuration#web-server-configuration
if @config['beef']['http']['public_port']
print_error 'Config path beef.http.public_port is deprecated.'
print_error 'Please use the new format for public variables found'
print_error 'https://github.com/beefproject/beef/wiki/Configuration#web-server-configuration'
return
end
@@ -154,7 +155,7 @@ module BeEF
"#{beef_proto}://#{beef_host}:#{beef_port}"
end
# Returns the hool path value stored in the config file
# Returns the hook path value stored in the config file
#
# @return [String] hook file path
def hook_file_path
@@ -255,7 +256,7 @@ module BeEF
#
def load_modules_config
set('beef.module', {})
# support nested sub-categories, like browser/hooked_domain/ajax_fingerprint
# support nested sub-categories, like browser/hooked_origin/ajax_fingerprint
module_configs = File.join("#{$root_dir}/modules/**", 'config.yaml')
Dir.glob(module_configs) do |cf|
y = load(cf)
@@ -277,13 +278,15 @@ module BeEF
private
# Note for developers:
# The configuration path 'beef.http.public' is deprecated.
# Use the new format for public variables as described in the BeEF project documentation.
# Refer to the BeEF configuration guide for the web server configuration details:
# https://github.com/beefproject/beef/wiki/Configuration#web-server-configuration
def validate_public_config_variable?(config)
return true if config['beef']['http']['public'].is_a?(Hash) ||
config['beef']['http']['public'].is_a?(NilClass)
print_error 'Config path beef.http.public is deprecated.'
print_error 'Please use the new format for public variables found'
print_error 'https://github.com/beefproject/beef/wiki/Configuration#web-server-configuration'
false
end
end

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF
@@ -32,7 +32,7 @@ module BeEF
print_info "Browser Exploitation Framework (BeEF) #{version}"
data = "Twit: @beefproject\n"
data += "Site: https://beefproject.com\n"
data += "Blog: http://blog.beefproject.com\n"
# data += "Blog: http://blog.beefproject.com\n"
data += "Wiki: https://github.com/beefproject/beef/wiki\n"
print_more data
print_info 'Project Creator: ' + 'Wade Alcorn'.red + ' (@WadeAlcorn)'
@@ -134,6 +134,29 @@ module BeEF
print_info "Starting WebSocketSecure server on wss://[#{config.beef_host}:#{config.get('beef.http.websocket.secure_port').to_i} [timer: #{ws_poll_timeout}]"
end
end
# Print WebSocket servers
#
def print_http_proxy
config = BeEF::Core::Configuration.instance
print_info "HTTP Proxy: http://#{config.get('beef.extension.proxy.address')}:#{config.get('beef.extension.proxy.port')}"
end
def print_dns
address = nil
port = nil
protocol = nil
# TODO: fix the following reference - extensions/dns/api.rb
# servers, interfaces, address, port, protocol, upstream_servers = get_dns_config # get the DNS configuration
# Print the DNS server information
unless address.nil? || port.nil? || protocol.nil?
print_info "DNS Server: #{address}:#{port} (#{protocol})"
print_more upstream_servers unless upstream_servers.empty?
end
end
end
end
end

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
require 'securerandom'

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
@@ -18,7 +18,7 @@ module BeEF
geoip_file = @config.get('beef.geoip.database')
unless File.exist? geoip_file
print_error "[GeoIP] Could not find MaxMind GeoIP database: '#{geoip_file}'"
BeEF::Core::Logger.instance.register('System', "[GeoIP] Could not find MaxMind GeoIP database: '#{geoip_file}'")
@enabled = false
return
end

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF
@@ -400,6 +400,8 @@ module BeEF
browser_plugins = get_param(@data['results'], 'browser.plugins')
if BeEF::Filters.is_valid_browser_plugins?(browser_plugins)
BD.set(session_id, 'browser.plugins', browser_plugins)
elsif browser_plugins == "[]"
err_msg "No browser plugins detected."
else
err_msg "Invalid browser plugins returned from the hook browser's initial connection."
end
@@ -547,7 +549,7 @@ module BeEF
end
# log a few info of newly hooked zombie in the console
print_info "New Hooked Browser [id:#{zombie.id}, ip:#{zombie.ip}, browser:#{browser_name}-#{browser_version}, os:#{os_name}-#{os_version}], hooked domain [#{log_zombie_domain}:#{log_zombie_port}]"
print_info "New Hooked Browser [id:#{zombie.id}, ip:#{zombie.ip}, browser:#{browser_name}-#{browser_version}, os:#{os_name}-#{os_version}], hooked origin [#{log_zombie_domain}:#{log_zombie_port}]"
# add localhost as network host
if config.get('beef.extension.network.enable')

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF
@@ -19,7 +19,7 @@ module BeEF
beef_js_path = "#{$root_dir}/core/main/client/"
# @note External libraries (like jQuery) that are not evaluated with Eruby and possibly not obfuscated
ext_js_sub_files = %w[lib/jquery-1.12.4.min.js lib/jquery-migrate-1.4.1.js lib/evercookie.js lib/json2.js lib/mdetect.js lib/platform.js lib/jquery.blockUI.js]
ext_js_sub_files = %w[lib/jquery-1.12.4.min.js lib/jquery-migrate-1.4.1.js lib/evercookie.js lib/json2.js lib/mdetect.js lib/platform.js lib/jquery.blockUI.js lib/bowser-2.11.0.min.js]
# @note BeEF libraries: need Eruby evaluation and obfuscation
beef_js_sub_files = %w[beef.js browser.js browser/cookie.js browser/popup.js session.js os.js hardware.js dom.js logger.js net.js updater.js encode/base64.js

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF
@@ -73,7 +73,7 @@ module BeEF
# content = command_module.output.gsub('//
# //
# // Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# // Browser Exploitation Framework (BeEF) - http://beefproject.com
# // Browser Exploitation Framework (BeEF) - https://beefproject.com
# // See the file 'doc/COPYING' for copying permission
# //
# //', "")

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF
@@ -19,7 +19,7 @@ module BeEF
beef_js_path = "#{$root_dir}/core/main/client/"
# @note External libraries (like jQuery) that are not evaluated with Eruby and possibly not obfuscated
ext_js_sub_files = %w[lib/jquery-1.12.4.min.js lib/jquery-migrate-1.4.1.js lib/evercookie.js lib/json2.js lib/mdetect.js lib/platform.js lib/jquery.blockUI.js]
ext_js_sub_files = %w[lib/jquery-1.12.4.min.js lib/jquery-migrate-1.4.1.js lib/evercookie.js lib/json2.js lib/mdetect.js lib/platform.js lib/jquery.blockUI.js lib/bowser-2.11.0.min.js]
# @note BeEF libraries: need Eruby evaluation and obfuscation
beef_js_sub_files = %w[beef.js browser.js browser/cookie.js browser/popup.js session.js os.js hardware.js dom.js logger.js net.js updater.js encode/base64.js

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF
@@ -19,7 +19,7 @@ module BeEF
beef_js_path = "#{$root_dir}/core/main/client/"
# @note External libraries (like jQuery) that are not evaluated with Eruby and possibly not obfuscated
ext_js_sub_files = %w[lib/jquery-1.12.4.min.js lib/jquery-migrate-1.4.1.js lib/evercookie.js lib/json2.js lib/mdetect.js lib/platform.js lib/jquery.blockUI.js]
ext_js_sub_files = %w[lib/jquery-1.12.4.min.js lib/jquery-migrate-1.4.1.js lib/evercookie.js lib/json2.js lib/mdetect.js lib/platform.js lib/jquery.blockUI.js lib/bowser-2.11.0.min.js]
# @note BeEF libraries: need Eruby evaluation and obfuscation
beef_js_sub_files = %w[beef.js browser.js browser/cookie.js browser/popup.js session.js os.js hardware.js dom.js logger.js net.js updater.js encode/base64.js

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF

View File

@@ -1,6 +1,6 @@
#
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#

Some files were not shown because too many files have changed in this diff Show More