-
Notifications
You must be signed in to change notification settings - Fork 26
Docker Deployment
Casey Reid edited this page Dec 15, 2023
·
4 revisions
Since navi downloads very sensitive data it might be to your advantage to use a docker container that destroys after you're finished; limiting any unintentional exposure to sensitive data. Secondarily, docker makes for an easy way to support automation.
docker pull packetchaos/navi:latest
docker run -it -p 8000:8000 packetchaos/navi:latest /bin/bash
navi keys
navi update full
CTR+Q+P - CTR+Q+P
docker attach <container id>
<press enter>
Navi has a few reporting capabilities where a CSV is the output. To extract this data from the container you will need to launch the container with port 8000 exposed and use the 'http' command to extract the reports.
docker run -it -p 8000:8000 packetchaos/navi:latest /bin/bash
docker run -it -p 8000:8000 --mount type=bind,source="$(pwd)",target=/usr/src/app packetchaos/navi /bin/bash
To extract data from the container you need to run an http server. Use the below built in command.
navi http
- Navigate to the website: http://127.0.0.1:8000
- Simply download the item you want by clicking on it.
-
The "navi http" command was removed in version 7.0.0 and beyond. To extract data please use the below command instead
python3 -m http.server