Skip to content

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

Create an alias

This alias will store keys and compiled apps in $HOME/implant

alias implant="docker run --rm -v $HOME/implant:root/.implant/output bakerba/implant"

Serve an F-Droid repository

Add -p 80:80 to expose the web server to your network

Install apps over USB from Linux

Add --privileged and -v /dev/bus/usb to mount your Android device in the container

Custom keystore password

If you have a custom keystore password you need to pass this to the container

alias implant="KSPASS='your-password' docker run -e KSPASS ..."

Do not save compiled apps

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