-
Notifications
You must be signed in to change notification settings - Fork 49
Scan wiki pages
Marco Rosa edited this page Jul 26, 2021
·
6 revisions
-
Install the dependencies (possibly using a virtualenv)
-
Instantiate the client (either Postgres or sqlite)
from credentialdigger import PgClient c = PgClient(dbhost='xxx.xxx.xxx.xxx', dbport=NUM, dbname='mydbname', dbuser='myusername', dbpassword='mypassword')
or
from credentialdigger import SqliteClient c = SqliteClient(path='/path/to/data.db')
-
[OPTIONAL] Add the repository
c.add_repo(url='https://github.com/user/repo')
-
Launch the scan of the wiki pages of a repository
new_discoveries = c.scan_wiki(repo_url=REPO_URL, category=CATEGORY, models=MODELS, debug=DEBUG)
Wiki pages are scanned in the same way that repositories are (refer to Scan a repository).
- Installation instructions: Readme
- Preparation for the scanner's rules
- Deploy over HTTPS (Optional)
- How to update the project
- How to install on MacOS ARM
- Python library
- CLI
- Web UI through the Docker installation
- Pre-commit hook