mirror of
https://github.com/laramies/theHarvester.git
synced 2026-09-26 19:44:53 +02:00
@@ -0,0 +1,18 @@
|
||||
# Contributing to theHarvester Project
|
||||
Welcome to theHarvester project, so you would like to contribute.
|
||||
|
||||
The following below must be met to get accepted.
|
||||
|
||||
# CI
|
||||
Make sure all CI passes and you do not introduce any alerts from lgtm.
|
||||
|
||||
# Unit Tests
|
||||
For new modules a unit test for that module is required and we use pytest.
|
||||
|
||||
# Coding Standards
|
||||
* No single letter variables and variable names must represent the action that it is performing
|
||||
* Have static typing on functions etc
|
||||
|
||||
# Submitting Bugs
|
||||
If you have a bug in a module that you want to submit an issue for and know how to write python code.
|
||||
Please create a unit test for that bug and submit a fix for it
|
||||
@@ -38,3 +38,6 @@ jobs:
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
pytest
|
||||
# - name: Check static type checking with mypy
|
||||
# run: |
|
||||
# mypy *.py
|
||||
@@ -12,6 +12,7 @@ script:
|
||||
- python theHarvester.py -d metasploit.com -b baidu,bing,censys,crtsh,dnsdumpster,dogpile,duckduckgo,exalead,linkedin,netcraft,threatcrowd,trello,twitter,virustotal,yahoo
|
||||
- pytest
|
||||
- flake8 . --count --show-source --statistics
|
||||
#- mypy *.py
|
||||
notifications:
|
||||
email: false
|
||||
slack:
|
||||
|
||||
@@ -2,6 +2,7 @@ beautifulsoup4==4.8.0
|
||||
censys==0.0.8
|
||||
flake8==3.7.8
|
||||
grequests==0.4.0
|
||||
mypy==0.720
|
||||
plotly==4.1.1
|
||||
pytest==5.1.2
|
||||
PyYaml==5.1.2
|
||||
|
||||
@@ -37,7 +37,7 @@ def start():
|
||||
dogpile, duckduckgo, github-code, google,
|
||||
hunter, intelx,
|
||||
linkedin, linkedin_links, netcraft, securityTrails, threatcrowd,
|
||||
trello, twitter, vhost, virustotal, yahoo, all''')
|
||||
trello, twitter, vhost, virustotal, yahoo''')
|
||||
parser.add_argument('-x', '--exclude', help='exclude options when using all sources', type=str)
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
Reference in New Issue
Block a user