Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
topscoder committed May 16, 2024
1 parent 59adf6b commit 92765fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/wordfence-crawler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ jobs:
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
# run main.py for API if there are new vulns found
# run src/main.py for API if there are new vulns found
- name: Process vulnerabilities of Wordfence API source (production)
run: |
python main.py --api_endpoint https://www.wordfence.com/api/intelligence/v2/vulnerabilities/production
python src/main.py --api_endpoint https://www.wordfence.com/api/intelligence/v2/vulnerabilities/production
- name: Process vulnerabilities of Wordfence API source (scanner aka fresh/unfinished issues)
run: |
python main.py --api_endpoint https://www.wordfence.com/api/intelligence/v2/vulnerabilities/scanner
python src/main.py --api_endpoint https://www.wordfence.com/api/intelligence/v2/vulnerabilities/scanner
- name: Commit new vulnerability templates
run: |
Expand Down
3 changes: 3 additions & 0 deletions src/lib/parsers/parser_interface.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
class ParserInterface:
def run(self, url, outputfile=None, overwrite=False, force=False, overwrite_enhanced=False) -> bool:
pass

0 comments on commit 92765fe

Please sign in to comment.