Skip to content

Conversation

@zinduolis
Copy link
Contributor

Pull Request

Thanks for submitting a PR! Please fill in this template where appropriate:

Category

Documentation, Core Functionality

Feature/Issue Description

Q: Please give a brief summary of your feature/fix
A: This PR updates the project's copyright year across the entire BeEF codebase from 2025 (and previous legacy years) to 2026.

Q: Give a technical rundown of what you have changed (if applicable)
A:

  • Maintenance Script Enhancement: Updated tools/maintenance/copyright_update.rb to use a robust regular expression ((?:Copyright (c) |(C) )2006-)20\d{2}. This captures the prefix and project start year while flexibly matching various previous end years (e.g., 2020, 2024, 2025).
  • Global Update: Automated the update for over 1,200 files, including core Ruby logic, configuration files (config.yaml), documentation (doc/COPYING, doc/boilerplate), extensions, and modules.
  • Documentation Refresh: Updated the year in the existing docs/ HTML files generated by JSDoc.
  • Selective Modification: Ensured that only BeEF-specific copyright notices were updated, preserving third-party copyrights (e.g., Oracle or individual contributors using different formats).

Test Cases

Q: Describe your test cases, what you have covered and if there are any use cases that still need addressing.
A:

  • Automated Check: Verified using grep that no instances of "Copyright ... Wade Alcorn" with older years (2020-2025) remain.
  • Preservation Check: Confirmed that third-party copyright notices (e.g., Junio C Hamano, Oracle) were correctly excluded from the update.
  • Manual Verification: Inspected key files including core/api.rb, config.yaml, doc/COPYING, and doc/boilerplate to confirm the format and year are correct.

Wiki Page

N/A - This is a routine maintenance update.

@zinduolis zinduolis temporarily deployed to Integrate Pull Request December 26, 2025 09:21 — with GitHub Actions Inactive
@zinduolis zinduolis temporarily deployed to Integrate Pull Request December 26, 2025 09:35 — with GitHub Actions Inactive
@kaitozaw
Copy link
Collaborator

The changes look good to me 👍

(The CI failure is not related to this PR. It is caused by the CodeQL workflow using a deprecated version of the CodeQL action and requires a repository workflow update (v3).)

@zinduolis zinduolis temporarily deployed to Integrate Pull Request December 30, 2025 01:18 — with GitHub Actions Inactive
@zinduolis zinduolis merged commit dca4415 into master Dec 30, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants