six2dez / reconftw

reconFTW is a tool designed to perform automated recon on a target domain by running the best set of tools to perform scanning and finding out vulnerabilities
MIT License
5.63k stars 912 forks source link

`-l` flag not working with docker image to pass a list of target domains #885

Open shivpratapsingh111 opened 3 months ago

shivpratapsingh111 commented 3 months ago

Describe the bug -l falg to pass list of target domains is not working with the docker image, where as -d flag works perfectly for a single domain.

To Reproduce Steps to reproduce the behavior:

  1. Pull docker Image
  2. Make a list of target domains, save them to a file, domains.txt in my case.
  3. Run the below command to pass list of target domains to docker file:
    docker run -it --rm -v "${PWD}/OutputFolder/":'/reconftw/Recon/' six2dez/reconftw:main -l domains.txt -r
  4. See error
    
    (.venvPython) root@bugbounty:~/apple# docker run -it --rm -v "${PWD}/OutputFolder/":'/reconftw/Recon/' six2dez/reconftw:main -l domains.txt -r

cat: domains.txt: No such file or directory


/ \ / \ / \ / \ / \ / \ / \ / \ ( r | e | c | o | n | F | T | W ) _/ _/ _/ _/ _/ _/ _/ _/ main-v2.8.1-43-gfbb17cb by @six2dez remote: Enumerating objects: 307, done. remote: Counting objects: 100% (307/307), done. remote: Compressing objects: 100% (126/126), done. remote: Total 307 (delta 189), reused 274 (delta 181), pack-reused 0 Receiving objects: 100% (307/307), 1.11 MiB | 9.09 MiB/s, done. Resolving deltas: 100% (189/189), completed with 11 local objects. From https://github.com/six2dez/reconftw fbb17cb..ea1b7af main -> origin/main 6ec8180..7da7643 dev -> origin/dev

sed: can't read domains.txt: No such file or directory cat: domains.txt: No such file or directory


**Image**
![image](https://github.com/six2dez/reconftw/assets/106021529/ea1e02f7-780f-44d2-87e6-5e6c8ce70530)

**OS:**
Ubuntu (Debian) - 6.8.0-35-generic #35-Ubuntu
A virtual machine on digital ocean
devviua commented 3 months ago

Same problem with -l flag on a vps from DigitalOcean. I even tried the full pathname that starts with "~" - same result.

The console output: sed: can't read list.txt: No such file or directory cat: list.txt: No such file or directory