Skip to content

Instantly share code, notes, and snippets.

@parsons-Jsr
Last active December 15, 2015 18:49
Show Gist options
  • Save parsons-Jsr/5306984 to your computer and use it in GitHub Desktop.
Save parsons-Jsr/5306984 to your computer and use it in GitHub Desktop.
Secret Chrome Terminal: Batch script that decrypts a portable version of Google chrome, runs it, then re-encrypts after session is over. Line breaks after "&&" are added for purpose of gist and need to be concatenated for real use
@echo off
REM -m (recursive), -d (decrypt), -b (use cached password), -f(fast mode), -z(encrypt), -t(destroy cached password)
start cmd.exe /k
"echo #######################################&&
echo JSRP Secret Chrome Encryption Terminal&&
echo #######################################&&
echo Secret Google Chrome Portable Decrypting&&
cd %ProgramFiles%\Axantum\Axcrypt&&
Axcrypt -b 2 -m -f -d E:\GoogleChromePortable\*.axx&&
Echo Decrypting complete! Opening Chrome...&&
START /w E:\GoogleChromePortable\GoogleChromePortable.exe&&echo Secret Chrome closed. Please wait while it is reencrypted...&&
Axcrypt.exe -m -z E:\GoogleChromePortable\* -t&&
exit"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment