michelin / ChopChop

ChopChop is a CLI to help developers scanning endpoints and identifying exposition of sensitive services/files/folders.
Other
673 stars 78 forks source link

filepath of url file is not valid #54

Closed CristaLCorp closed 3 years ago

CristaLCorp commented 3 years ago

Hi and gg for le bon travail.

I was playing with it after seeing your video on YouTube (OSSIR), and the following command :

docker run ghcr.io/michelin/gochopchop scan --url-file file.txt --json-file "resultats.json"

gives me the following error : Error: filepath of url file is not valid filepath of url file is not valid

I tried with -f, --url-file, "./file.txt", ./file.txt, file.txt, "file.txt", [absolute_path] and "[asbolute_path] with the same result.

Any idea why ?

Regards,

CristaLCorp commented 3 years ago

My bad, problem solved. As it is run in a container, I need to mount a volume of course... the correct commande line in case someone else encounter the same issue : docker run -v /home/user/Documents/list:/tmp/list ghcr.io/michelin/gochopchop scan --url-file /tmp/list --json-file "resultsss.json"