Create an implant alias
Alex Baker edited this page Oct 18, 2019
·
17 revisions
Implant needs a -v
volume mount to persist some files between use. You can make your life easier by creating an implant
alias in your shell
This alias will store keys and compiled apps in $HOME/implant
alias implant="docker run --rm -v $HOME/implant:root/.implant/output bakerba/implant"
Add -p 80:80
to expose the web server to your network
Add --privileged
and -v /dev/bus/usb
to mount your Android device in the container
If you have a custom keystore password you need to pass this to the container
alias implant="KSPASS='your-password' docker run -e KSPASS ..."
If you do not want to save compiled apps on your hard drive then mount your signing key only
Use -v $HOME/implant.keystore:root/.implant/output/implant.keystore
in your alias
Linux users should also add -v $HOME/adbkey:root/.implant/output/adbkey
to prevent debug authorization pop-ups