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 not working #117

Open Disarm3 opened 10 months ago

Disarm3 commented 10 months ago

This error prevents me from executing GAU correctly:

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

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"]```
Disarm3 commented 10 months ago

I created the file .gau.toml on the path mentioned (/home/kali/) with the following code:

threads = 2 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"]

I tested GAU using a .txt file with a random domain but it doesn't return any output. The command I used:

$ cat test.txt | ./gau

thezakman commented 10 months ago

Not returning nothing dosen't mean that is broken.

Try on a famous domain, If It works It means that the one from your TXT file have never been indexed. And the error was fixed, right?

Em sáb., 18 de nov. de 2023 10:37, Disarm3 @.***> escreveu:

I created the file .gau.toml on the path mentioned (/home/kali/) with the following code:

`threads = 2 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"]`

I tested GAU using a .txt file with a random domain but it doesn't return any output. The command I used:

cat test.txt | ./gau

— Reply to this email directly, view it on GitHub https://github.com/lc/gau/issues/117#issuecomment-1817511949, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIT4W6G6OIQGRZZQA7UB23YFC225AVCNFSM6AAAAAA7JWGXEGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJXGUYTCOJUHE . You are receiving this because you commented.Message ID: @.***>

Disarm3 commented 10 months ago

I tested it on amazon.com using a .txt file but again it didn't show any output. When i ran it outside a .txt file it worked normally ($ ./gau amazon.com). Is there a way i can fix this?

NoitLQS commented 4 months ago

Did you manage to fix your error? I have the same problem unfortunately

sudo-awk commented 4 months ago

same here