gau icon indicating copy to clipboard operation
gau copied to clipboard

GAU .toml not working

Open Disarm3 opened this issue 2 years ago • 6 comments

This error prevents me from executing GAU correctly:

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

Disarm3 avatar Nov 12 '23 14:11 Disarm3

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"]```

thezakman avatar Nov 13 '23 20:11 thezakman

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

Disarm3 avatar Nov 18 '23 13:11 Disarm3

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: @.***>

thezakman avatar Nov 18 '23 13:11 thezakman

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?

Disarm3 avatar Nov 18 '23 15:11 Disarm3

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

NoitLQS avatar May 09 '24 14:05 NoitLQS

same here

sudo-awk avatar May 12 '24 05:05 sudo-awk