Update the changelog for the new release 4.11.0 #3777
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: TheHarvester Python CI | |
| on: | |
| push: | |
| branches: | |
| - '*' | |
| pull_request: | |
| branches: | |
| - '*' | |
| jobs: | |
| Python: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| max-parallel: 10 | |
| matrix: | |
| os: [ ubuntu-latest ] | |
| python-version: [ '3.12', '3.13', '3.14' ] | |
| steps: | |
| - name: Harden the runner (Audit all outbound calls) | |
| uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4 | |
| with: | |
| egress-policy: audit | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| enable-cache: true | |
| cache-dependency-glob: "uv.lock" | |
| - name: Install dependencies | |
| run: | | |
| sudo mkdir -p /usr/local/etc/theHarvester | |
| sudo cp theHarvester/data/*.yaml /usr/local/etc/theHarvester/ | |
| sudo chown -R runner:runner /usr/local/etc/theHarvester/ | |
| uv sync --all-groups --frozen | |
| echo "$GITHUB_WORKSPACE/.venv/bin" >> $GITHUB_PATH | |
| - name: Lint with ruff | |
| uses: astral-sh/ruff-action@0ce1b0bf8b818ef400413f810f8a11cdbda0034b # v4.0.0 | |
| with: | |
| args: check --fix | |
| - name: Format with ruff | |
| uses: astral-sh/ruff-action@0ce1b0bf8b818ef400413f810f8a11cdbda0034b # v4.0.0 | |
| with: | |
| args: format | |
| - name: Commit changes for ruff formating and linting | |
| if: github.event_name == 'push' | |
| run: | | |
| git config user.name github-actions | |
| git config user.email github-actions@github.com | |
| git add . | |
| git commit -m "Apply ruff fixes and formatting" || true # Use || true to prevent failure if no changes | |
| git push origin HEAD:${{ github.ref_name }} | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Test with pytest | |
| run: | | |
| pytest tests/** | |
| - name: Run theHarvester module Baidu | |
| run: | | |
| theHarvester -d yale.edu -b baidu | |
| - name: Run theHarvester module CertSpotter | |
| run: | | |
| theHarvester -d yale.edu -b certspotter | |
| - name: Run theHarvester module Crtsh | |
| run: | | |
| theHarvester -d hcl.com -b crtsh | |
| - name: Run theHarvester module DuckDuckGo | |
| run: | | |
| theHarvester -d yale.edu -b duckduckgo | |
| - name: Run theHarvester module HackerTarget | |
| run: | | |
| theHarvester -d yale.edu -b hackertarget | |
| - name: Run theHarvester module Otx | |
| run: | | |
| theHarvester -d yale.edu -b otx | |
| - name: Run theHarvester module RapidDns | |
| run: | | |
| theHarvester -d yale.edu -b rapiddns | |
| - name: Run theHarvester module Urlscan | |
| run: | | |
| theHarvester -d yale.edu -b urlscan | |
| - name: Run theHarvester module Yahoo | |
| run: | | |
| theHarvester -d yale.edu -b yahoo | |
| - name: Run theHarvester module DNS brute force | |
| run: | | |
| theHarvester -d yale.edu -c |