diff --git a/README.md b/README.md index 3e2e6ffa5ca50768dd2ce7fb577b2333d058ce9f..96a058e68effbb2b1fba77ab34f61a5fda16d1d8 100644 --- a/README.md +++ b/README.md @@ -27,43 +27,47 @@ NOTE: Be sure to be in the ctf-search/exploitdb directory when running any of th searchsploit -b 47044 ## Usage (ctfcli.py ): - python3 ctfcli.py build-auto - python3 ctfcli.py build-auto [EDB/CVE-ID] - python3 ctfcli.py build-manual - python3 ctfcli.py build-manual [EDB/CVE-ID] + python3 ctfsetup/ctfcli.py build-auto + python3 ctfsetup/ctfcli.py build-auto [EDB/CVE-ID] + python3 ctfsetup/ctfcli.py build-manual + python3 ctfsetup/ctfcli.py build-manual [EDB/CVE-ID] - python3 ctfcli.py list-setups - python3 ctfcli.py list-setups [EDB/CVE-ID] + python3 ctfsetup/ctfcli.py list-setups + python3 ctfsetup/ctfcli.py list-setups [EDB/CVE-ID] - python3 ctfcli.py add-setup [EDB/CVE-ID] [archive.zip] - python3 ctfcli.py add-setup-dir [EDB/CVE-ID] [directory] + python3 ctfsetup/ctfcli.py add-setup [EDB/CVE-ID] [archive.zip] + python3 ctfsetup/ctfcli.py add-setup-dir [EDB/CVE-ID] [directory] - python3 ctfcli.py build-setup [edb_id_num.zip] + python3 ctfsetup/ctfcli.py build-setup [edb_id_num.zip] - python3 ctfcli.py add-user [username] - python3 ctfcli.py list-users - python3 ctfcli.py set-rating [username] [EDB/CVE-ID] [rating] - python3 ctfcli.py list-ratings [username] - python3 ctfcli.py delete-rating [username] [EDB/CVE-ID] + python3 ctfsetup/ctfcli.py add-user [username] + python3 ctfsetup/ctfcli.py list-users + python3 ctfsetup/ctfcli.py set-rating [username] [EDB/CVE-ID] [rating] + python3 ctfsetup/ctfcli.py list-ratings [username] + python3 ctfsetup/ctfcli.py delete-rating [username] [EDB/CVE-ID] - python3 ctfcli.py set_player_rating [username] [EDB/CVE-ID] --funness 5 --difficulty 3 - python3 ctfcli.py list-player-ratings + python3 ctfsetup/ctfcli.py set_player_rating [username] [EDB/CVE-ID] --funness 5 --difficulty 3 + python3 ctfsetup/ctfcli.py list-player-ratings - python3 ctfcli.py search [query-string] --n [numOfResults] --user [username] --exclude [terms] --case --ignore-stopwords --app-urls --no-recommendations --vuln-type [edb/cve/all] + python3 ctfsetup/ctfcli.py search [query-string] --n [numOfResults] --user [username] --exclude [terms] --case --ignore-stopwords --app-urls --no-recommendations --vuln-type [edb/cve/all] - python3 ctfcli.py update-vulns + python3 ctfsetup/ctfcli.py update-vulns ### Examples: - python3 ctfcli.py build-auto 47044 - python3 ctfcli.py build-manual 47044 + python3 ctfsetup/ctfcli.py build-auto 47044 + python3 ctfsetup/ctfcli.py build-manual 47044 python3 ctfcli.py list-setups 47044 python3 ctfcli.py add-setup 47044 app_and_setup.zip python3 ctfcli.py build-setup edb_47044_1.zip + python3 ctfsetup/ctfcli.py list-setups 47044 + python3 ctfsetup/ctfcli.py add-setup 47044 app_and_setup.zip + python3 ctfsetup/ctfcli.py build-setup edb_47044_1.zip + # Linux custom kernel build: - python3 ctfcli.py build-auto 47165 + python3 ctfsetup/ctfcli.py build-auto 47165 ## CTF store - stored CTF format diff --git a/exploitdb/ctfsetup/requirements.txt b/exploitdb/ctfsetup/requirements.txt index dc54b9901989121c31af7a6d422fc3c0b5276c4c..adcde9b98afc09bf87fb1e7f10a128fea84bc03b 100644 --- a/exploitdb/ctfsetup/requirements.txt +++ b/exploitdb/ctfsetup/requirements.txt @@ -4,4 +4,8 @@ requests==2.23.0 docker==4.2.1 Flask==1.0.2 scipy>=0.15.1 -scikit-learn>=0.18 \ No newline at end of file +scikit-learn>=0.18 +bs4 +html5lib +lxml +sklearn \ No newline at end of file