byt3bl33d3r / WitnessMe

Web Inventory tool, takes screenshots of webpages using Pyppeteer (headless Chrome/Chromium) and provides some extra bells & whistles to make life easier.
GNU General Public License v3.0
727 stars 109 forks source link

/transfer running as root and cannot transfer files to host #35

Open virgilcj opened 3 years ago

virgilcj commented 3 years ago

Using the docker and -v to mount current volume to /transfer directory, I can see that /transfer is owned by root and hence cannot transfer any files from docker into the /transfer folder to take the files outside to the host machine

ghost commented 2 years ago

Same issue here. Fixed it by adding RUN echo "root:root" | chpasswd to the Dockerfile. Then after running Witnessme I've escalated my privileges to root and transferred the output to the host machine.