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 tesseract
sudo apt install tesseract-ocr -y
git 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