There was an error while loading. Please reload this page.
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).
--local