mirror of
https://github.com/laramies/theHarvester.git
synced 2026-09-14 21:57:42 +02:00
Update ci and dockerfile
This commit is contained in:
@@ -33,89 +33,89 @@ jobs:
|
||||
|
||||
- name: Run theHarvester module baidu
|
||||
run: |
|
||||
python theHarvester.py -d metasploit.com -b baidu
|
||||
pipenv run theHarvester.py -d metasploit.com -b baidu
|
||||
|
||||
- name: Run theHarvester module bing
|
||||
run: |
|
||||
python theHarvester.py -d metasploit.com -b bing
|
||||
pipenv run theHarvester.py -d metasploit.com -b bing
|
||||
|
||||
- name: Run theHarvester module crtsh
|
||||
run: |
|
||||
python theHarvester.py -d metasploit.com -b crtsh
|
||||
pipenv run theHarvester.py -d metasploit.com -b crtsh
|
||||
|
||||
- name: Run theHarvester module dnsdumpster
|
||||
run: |
|
||||
python theHarvester.py -d metasploit.com -b dnsdumpster
|
||||
pipenv run theHarvester.py -d metasploit.com -b dnsdumpster
|
||||
|
||||
- name: Run theHarvester module dogplie
|
||||
run: |
|
||||
python theHarvester.py -d metasploit.com -b dogpile
|
||||
pipenv run theHarvester.py -d metasploit.com -b dogpile
|
||||
|
||||
- name: Run theHarvester module duckduckgo
|
||||
run: |
|
||||
python theHarvester.py -d metasploit.com -b duckduckgo
|
||||
pipenv run theHarvester.py -d metasploit.com -b duckduckgo
|
||||
|
||||
- name: Run theHarvester module exalead
|
||||
run: |
|
||||
python theHarvester.py -d metasploit.com -b exalead
|
||||
pipenv run theHarvester.py -d metasploit.com -b exalead
|
||||
|
||||
- name: Run theHarvester module google
|
||||
run: |
|
||||
python theHarvester.py -d metasploit.com -b google
|
||||
pipenv run theHarvester.py -d metasploit.com -b google
|
||||
|
||||
- name: Run theHarvester module Intelx
|
||||
run: |
|
||||
python theHarvester.py -d metasploit.com -b intelx
|
||||
pipenv run theHarvester.py -d metasploit.com -b intelx
|
||||
|
||||
- name: Run theHarvester module linkedin
|
||||
run: |
|
||||
python theHarvester.py -d metasploit.com -b linkedin
|
||||
pipenv run theHarvester.py -d metasploit.com -b linkedin
|
||||
|
||||
- name: Run theHarvester module linkedin_links
|
||||
run: |
|
||||
python theHarvester.py -d metasploit.com -b linkedin_links
|
||||
pipenv run theHarvester.py -d metasploit.com -b linkedin_links
|
||||
|
||||
- name: Run theHarvester module netcraft
|
||||
run: |
|
||||
python theHarvester.py -d metasploit.com -b netcraft
|
||||
pipenv run theHarvester.py -d metasploit.com -b netcraft
|
||||
|
||||
- name: Run theHarvester module Otx
|
||||
run: |
|
||||
python theHarvester.py -d metasploit.com -b otx
|
||||
pipenv run theHarvester.py -d metasploit.com -b otx
|
||||
|
||||
- name: Run theHarvester module Suip
|
||||
run: |
|
||||
python theHarvester.py -d metasploit.com -b suip
|
||||
pipenv run theHarvester.py -d metasploit.com -b suip
|
||||
|
||||
- name: Run theHarvester module threatcrowd
|
||||
run: |
|
||||
python theHarvester.py -d metasploit.com -b threatcrowd
|
||||
pipenv run theHarvester.py -d metasploit.com -b threatcrowd
|
||||
- name: Run theHarvester module trello
|
||||
run: |
|
||||
python theHarvester.py -d metasploit.com -b trello
|
||||
pipenv run theHarvester.py -d metasploit.com -b trello
|
||||
|
||||
- name: Run theHarvester module twitter
|
||||
run: |
|
||||
python theHarvester.py -d metasploit.com -b twitter
|
||||
pipenv run theHarvester.py -d metasploit.com -b twitter
|
||||
|
||||
- name: Run theHarvester module virustotal
|
||||
run: |
|
||||
python theHarvester.py -d metasploit.com -b virustotal
|
||||
pipenv run theHarvester.py -d metasploit.com -b virustotal
|
||||
|
||||
- name: Run theHarvester module yahoo
|
||||
run: |
|
||||
python theHarvester.py -d metasploit.com -b yahoo
|
||||
pipenv run theHarvester.py -d metasploit.com -b yahoo
|
||||
|
||||
- name: Lint with flake8
|
||||
run: |
|
||||
# stop the build if there are Python syntax errors or undefined names
|
||||
flake8 . --count --show-source --statistics
|
||||
pipenv run flake8 . --count --show-source --statistics
|
||||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
|
||||
flake8 . --count --exit-zero --max-line-length=127 --statistics
|
||||
pipenv run flake8 . --count --exit-zero --max-line-length=127 --statistics
|
||||
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
pytest
|
||||
pipenv run pytest
|
||||
# - name: Static type checking with mypy
|
||||
# run: |
|
||||
# mypy --pretty *.py
|
||||
+4
-4
@@ -11,11 +11,11 @@ before_install:
|
||||
- pip install pipenv
|
||||
- pipenv install
|
||||
install:
|
||||
- python setup.py test
|
||||
- pipenv run setup.py test
|
||||
script:
|
||||
- python theHarvester.py -d metasploit.com -b baidu,bing,crtsh,dnsdumpster,dogpile,duckduckgo,exalead,linkedin,netcraft,otx,intelx,threatcrowd,trello,twitter,virustotal,yahoo -l 200
|
||||
- pytest
|
||||
- flake8 . --count --show-source --statistics
|
||||
- pipenv run theHarvester.py -d metasploit.com -b baidu,bing,crtsh,dnsdumpster,dogpile,duckduckgo,exalead,linkedin,netcraft,otx,intelx,threatcrowd,trello,twitter,virustotal,yahoo -l 200
|
||||
- pipenv run pytest
|
||||
- pipenv run flake8 . --count --show-source --statistics
|
||||
#- mypy --pretty *.py
|
||||
notifications:
|
||||
email: false
|
||||
|
||||
+1
-1
@@ -6,4 +6,4 @@ RUN apt-get -qq update
|
||||
RUN apt-get install -yqq pipenv
|
||||
RUN pipenv install
|
||||
RUN chmod +x *.py
|
||||
ENTRYPOINT ["/app/theHarvester.py"]
|
||||
ENTRYPOINT ["pipenv run /app/theHarvester.py"]
|
||||
|
||||
Reference in New Issue
Block a user