lc/gau

Can't write output in .txt file

ShubhamBhut opened this issue · 2 comments

The amount of URLs gau finds are too big for terminal to handle, hence I decide to save them on a .txt file, but every time try that using --o command, I get time="2022-11-11T02:02:25Z" level=fatal msg="Could not open output file: open ex1.txt: permission denied\n" error

I am running gau on fedora 36 using docker and my command was sudo docker run gau example.com sudo --o ex1.txt

lc commented

Are you sure this isn't an issue with your Docker setup? Were you able to get this to work?

It still doesn't work for me. I can't really figure out the reason. I used linux's tee command to redirect subdomains to write in my .txt file and it worked fine. So my issue is solved. I guess we can close this now if you wish.