Sanipass is a tool that takes in a list of sensitive information and attempts to sanitize screenshots containing that information for reports and other public consumption. The sanitized screenshots will be saved alongside the original screenshot with a -sanitized suffix.
Before
After
Sanipass can be installed by cloning this repository and running pip3 install . and subsequently executed from PATH with sanipass. Please ensure that the pre-requisites are also installed before attempting to run sanipass.
- Tesseract
brew install tesseractsudo apt install tesseract-ocr -ygit clone https://github.com/coffeegist/sanipass
cd sanipass
poetry install
poetry run sanipass -s my-password-list.txt -i report-images/sanipass uses Poetry to manage dependencies. Install from source and setup for development with:
git clone https://github.com/coffeegist/sanipass
cd sanipass
poetry install
poetry run sanipass --help

