lc / gau

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

".gau.toml" doesn't work #110

Open 0xspade opened 11 months ago

0xspade commented 11 months ago

I already blacklist the extension "jpg" and, "png" in the .toml file and after I scan my target again, there are still results of "jpg" and, "png".

0xspade commented 11 months ago

In addition, I dont see that gau is using the apikey I provided.

Moskitoz commented 11 months ago

the tool not working after installing it with this cmd

go install github.com/lc/gau/v2/cmd/gau@latest

WARN[0000] error reading config: open /home/duraid/.gau.toml: no such file or directory

Disarm3 commented 10 months ago

how did you resolve this? Im with the same issue

fernstedt commented 10 months ago

Fix this crap

thezakman commented 10 months ago

Just add the missing file in the PATH that is needed, with the default settings: https://github.com/lc/gau/raw/master/.gau.toml


verbose = false
retries = 15
subdomains = false
parameters = false
providers = ["wayback","commoncrawl","otx","urlscan"]
blacklist = ["ttf","woff","svg","png","jpg"]
json = false

[urlscan]
  apikey = ""

[filters]
  from = ""
  to = ""
  matchstatuscodes = []
  matchmimetypes = []
  filterstatuscodes = []
  filtermimetypes = ["image/png", "image/jpg", "image/svg+xml"]
deljilal commented 1 month ago

gau
WARN[0000] error reading config: open /home/zabiiiiii/.gau.toml: no such file or directory

any fix

DaL31 commented 1 week ago

gau WARN[0000] error reading config: open /home/zabiiiiii/.gau.toml: no such file or directory

any fix

@deljilal your error indicates that the file .gau.toml in your home directory /home/zabiiiiii is missing. Create the file .gau.toml and paste the content of thezakman's answer above into the file.