-
-
Notifications
You must be signed in to change notification settings - Fork 2k
115 lines (91 loc) · 2.93 KB
/
theHarvester.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
---
name: TheHarvester Python CI
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
Python:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 8
matrix:
os: [ ubuntu-latest, macos-latest ]
python-version: [ 3.10.12, 3.11 ]
steps:
- uses: actions/checkout@v4
- name: Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install --upgrade pip
pip install .[dev]
- name: Lint with black
run: |
black . --diff --check
- name: Lint with isort
run: |
isort . --diff --check
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --show-source --statistics --config .flake8
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-line-length=127 --statistics --config .flake8
- name: Test with pytest
run: |
pytest
- name: Run theHarvester module Anubis
run: |
theHarvester -d apple.com -b anubis
- name: Run theHarvester module Baidu
run: |
theHarvester -d yale.edu -b baidu
- name: Run theHarvester module Bing
run: |
theHarvester -d yale.edu -b bing
- 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 DnsDumpster
run: |
theHarvester -d yale.edu -b dnsdumpster
- 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 Intelx
run: |
theHarvester -d yale.edu -b intelx
- 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 Threatminer
run: |
theHarvester -d yale.edu -b threatminer
- 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
- name: Static type checking with mypy
run: |
mypy --pretty theHarvester/*/*.py
mypy --pretty theHarvester/*/*/*.py