secator icon indicating copy to clipboard operation
secator copied to clipboard

fix(bbot): output not saved in docker

Open n1kn0w opened this issue 1 year ago • 2 comments

Describe the bug From a docker install, the output generated by bbot task is not part of the folder shared between the docker and the host. The output is lost after the task.

To Reproduce Steps to reproduce the behavior: From a docker install : secator x bbot -ps email-enum somedomain.com

Expected behavior The output files of the bbot task should be saved in the docker /root/.secator folder wich will be be accessible on the host ~/.secator folder. Actually it's saved in the docker /root/.bbot folder wich is not part of the folder accessible on the host. Output

[INFO] output.csv: Saved CSV output to /root/.bbot/scans/brown_laura/output.csv
[INFO] output.emails: Saved 13 email addresses to /root/.bbot/scans/brown_laura/emails.txt
[INFO] output.json: Saved JSON output to /root/.bbot/scans/brown_laura/output.json
[INFO] output.txt: Saved TXT output to /root/.bbot/scans/brown_laura/output.txt
[INFO] Saved word cloud (7 words) to /root/.bbot/scans/brown_laura/wordcloud.tsv

Current alias for docker alias secator="docker run -it --rm --net=host -v ~/.secator:/root/.secator freelabz/secator" Desktop (please complete the following information):

  • OS: Ubuntu 24.04.1 LTS
  • Docker version 27.3.1
  • Secator version 0.7.0

n1kn0w avatar Nov 21 '24 12:11 n1kn0w

Hi, yes that's correct afaik bbot doesn't allow to change the output directory although I might have missed the right option. However you should still have secator's output saved which contains most of bbot's findings ?

In Docker, you can also mount the /root/.bbot folder in your alias like: alias secator="docker run -it --rm --net=host -v ~/.secator:/root/.secator -v ~/.bbot:/root/.bbot freelabz/secator"

ocervell avatar Nov 25 '24 12:11 ocervell

I've opened an other issue to track this more globally (copy output for all tools to ~/.secator) here: https://github.com/freelabz/secator/issues/539

ocervell avatar Feb 21 '25 14:02 ocervell