├── .dockerignore ├── .editorconfig ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE ├── PULL_REQUEST_TEMPLATE.md ├── dependabot.yml └── workflows │ ├── codeql-analysis.yml │ ├── pull_request.yml │ └── release.yml ├── .gitignore ├── CLI.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── Dockerfile ├── HISTORY.md ├── LICENSE ├── README.md ├── RULES.md ├── SECURITY.md ├── assets └── img │ ├── drheaderscansingle.png │ ├── drheaderscansinglejson.png │ └── hero.png ├── docs ├── Makefile ├── _static │ └── .keep ├── conf.py ├── contributing.rst ├── drheader.rst ├── history.rst ├── index.rst ├── installation.rst ├── make.bat ├── modules.rst ├── readme.rst └── usage.rst ├── drheader.rst ├── drheader ├── __init__.py ├── cli │ ├── __init__.py │ ├── cli.py │ └── utils.py ├── core.py ├── report.py ├── resources │ ├── cli │ │ ├── bulk_compare_schema.json │ │ └── bulk_scan_schema.json │ ├── delimiters.json │ └── rules.yml ├── utils.py └── validators │ ├── __init__.py │ ├── base.py │ ├── cookie_validator.py │ ├── directive_validator.py │ └── header_validator.py ├── modules.rst ├── poetry.lock ├── pyproject.toml ├── tests ├── __init__.py ├── integration_tests │ ├── __init__.py │ ├── test_cli.py │ ├── test_drheader.py │ ├── test_rules.py │ └── utils.py ├── test_resources │ ├── bulk_scan.json │ ├── bulk_scan.txt │ ├── custom_rules.yml │ ├── custom_rules_merged.yml │ ├── default_rules.yml │ ├── headers_bulk_ko.json │ ├── headers_bulk_ok.json │ ├── headers_ko.json │ ├── headers_ok.json │ └── report.json └── unit_tests │ ├── __init__.py │ ├── test_cli.py │ ├── test_utils.py │ └── test_validators.py └── tox.ini /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/.dockerignore -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/.github/ISSUE_TEMPLATE -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/pull_request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/.github/workflows/pull_request.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/.gitignore -------------------------------------------------------------------------------- /CLI.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/CLI.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/Dockerfile -------------------------------------------------------------------------------- /HISTORY.md: -------------------------------------------------------------------------------- 1 | # History 2 | 3 | ## 0.1.0 (2019-07-18) 4 | 5 | - First release. 6 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/README.md -------------------------------------------------------------------------------- /RULES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/RULES.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/SECURITY.md -------------------------------------------------------------------------------- /assets/img/drheaderscansingle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/assets/img/drheaderscansingle.png -------------------------------------------------------------------------------- /assets/img/drheaderscansinglejson.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/assets/img/drheaderscansinglejson.png -------------------------------------------------------------------------------- /assets/img/hero.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/assets/img/hero.png -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/_static/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/contributing.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/docs/contributing.rst -------------------------------------------------------------------------------- /docs/drheader.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/docs/drheader.rst -------------------------------------------------------------------------------- /docs/history.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/docs/history.rst -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/installation.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/docs/installation.rst -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/docs/make.bat -------------------------------------------------------------------------------- /docs/modules.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/docs/modules.rst -------------------------------------------------------------------------------- /docs/readme.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/docs/readme.rst -------------------------------------------------------------------------------- /docs/usage.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/docs/usage.rst -------------------------------------------------------------------------------- /drheader.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/drheader.rst -------------------------------------------------------------------------------- /drheader/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/drheader/__init__.py -------------------------------------------------------------------------------- /drheader/cli/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /drheader/cli/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/drheader/cli/cli.py -------------------------------------------------------------------------------- /drheader/cli/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/drheader/cli/utils.py -------------------------------------------------------------------------------- /drheader/core.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/drheader/core.py -------------------------------------------------------------------------------- /drheader/report.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/drheader/report.py -------------------------------------------------------------------------------- /drheader/resources/cli/bulk_compare_schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/drheader/resources/cli/bulk_compare_schema.json -------------------------------------------------------------------------------- /drheader/resources/cli/bulk_scan_schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/drheader/resources/cli/bulk_scan_schema.json -------------------------------------------------------------------------------- /drheader/resources/delimiters.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/drheader/resources/delimiters.json -------------------------------------------------------------------------------- /drheader/resources/rules.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/drheader/resources/rules.yml -------------------------------------------------------------------------------- /drheader/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/drheader/utils.py -------------------------------------------------------------------------------- /drheader/validators/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /drheader/validators/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/drheader/validators/base.py -------------------------------------------------------------------------------- /drheader/validators/cookie_validator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/drheader/validators/cookie_validator.py -------------------------------------------------------------------------------- /drheader/validators/directive_validator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/drheader/validators/directive_validator.py -------------------------------------------------------------------------------- /drheader/validators/header_validator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/drheader/validators/header_validator.py -------------------------------------------------------------------------------- /modules.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/modules.rst -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/poetry.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/pyproject.toml -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/integration_tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/integration_tests/test_cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/tests/integration_tests/test_cli.py -------------------------------------------------------------------------------- /tests/integration_tests/test_drheader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/tests/integration_tests/test_drheader.py -------------------------------------------------------------------------------- /tests/integration_tests/test_rules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/tests/integration_tests/test_rules.py -------------------------------------------------------------------------------- /tests/integration_tests/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/tests/integration_tests/utils.py -------------------------------------------------------------------------------- /tests/test_resources/bulk_scan.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/tests/test_resources/bulk_scan.json -------------------------------------------------------------------------------- /tests/test_resources/bulk_scan.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/tests/test_resources/bulk_scan.txt -------------------------------------------------------------------------------- /tests/test_resources/custom_rules.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/tests/test_resources/custom_rules.yml -------------------------------------------------------------------------------- /tests/test_resources/custom_rules_merged.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/tests/test_resources/custom_rules_merged.yml -------------------------------------------------------------------------------- /tests/test_resources/default_rules.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/tests/test_resources/default_rules.yml -------------------------------------------------------------------------------- /tests/test_resources/headers_bulk_ko.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/tests/test_resources/headers_bulk_ko.json -------------------------------------------------------------------------------- /tests/test_resources/headers_bulk_ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/tests/test_resources/headers_bulk_ok.json -------------------------------------------------------------------------------- /tests/test_resources/headers_ko.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/tests/test_resources/headers_ko.json -------------------------------------------------------------------------------- /tests/test_resources/headers_ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/tests/test_resources/headers_ok.json -------------------------------------------------------------------------------- /tests/test_resources/report.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/tests/test_resources/report.json -------------------------------------------------------------------------------- /tests/unit_tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit_tests/test_cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/tests/unit_tests/test_cli.py -------------------------------------------------------------------------------- /tests/unit_tests/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/tests/unit_tests/test_utils.py -------------------------------------------------------------------------------- /tests/unit_tests/test_validators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/tests/unit_tests/test_validators.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Santandersecurityresearch/DrHeader/HEAD/tox.ini --------------------------------------------------------------------------------