lc / gau

Fetch known URLs from AlienVault's Open Threat Exchange, the Wayback Machine, and Common Crawl.
MIT License
3.78k stars 430 forks source link

Can't write output in .txt file #86

Open ShubhamBhut opened 1 year ago

ShubhamBhut commented 1 year ago

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 1 year ago

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

ShubhamBhut commented 1 year ago

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.