Automatically decrypt encrypted zipped gmail tool
- Search your mails attached encrypted zip mails.
- Extract password candidates from same address(or domain) mails and try all.
- If decrypted, rezip and send back to yourself on same thread.
- Get Google API credentials for yourself (currently not included this repository)
- Access https://developers.google.com/gmail/api/quickstart/python
- Do "Step 1: Turn on the Gmail API"
- Download credentials.json (e.g. ~/Downloads)
- Run following code.
# clone this repository
git clone https://github.com/endorno/auto-gmail-decryptor.git
# change directory
cd auto-gmail-decryptor
# move credential to secrets directory
mv ~/Downloads/credentials.json ./secrets/client_secret.json
# set library path
export PYTHONPATH=`pwd`
# install gmail api library
pip install -r requirements.txt
# get access token for your account
python scripts/setup.py
# run script
python scripts/main.py --range domain --newer_than 1m --verbose
# or set cron (not tested yet)
# TODO