vaf icon indicating copy to clipboard operation
vaf copied to clipboard

Add Config File

Open d4rckh opened this issue 3 years ago • 5 comments

as requested in https://github.com/d4rckh/vaf/issues/7

d4rckh avatar May 10 '21 15:05 d4rckh

We should make it so users don't need to provide the ID in the config file and only the path, like this:

{
 "wordlists": ["/wordlist1", "/wordlist2"]
}

d4rckh avatar May 15 '21 15:05 d4rckh

Yes sir! Im working on it. How do you select the default tho? just using a path? If so the data would be:

{
  "DefaultWordlist": "/usr/wordlists/wordlist1.txt",
  "Wordlists": [ "/usr/wordlists/wordlist1.txt", "/usr/wordlists/wordlist2.txt", "/usr/wordlists/wordlist3.txt"]
}

daanbreur avatar May 16 '21 10:05 daanbreur

Yes sir! Im working on it. How do you select the default tho? just using a path? If so the data would be:

{
  "DefaultWordlist": "/usr/wordlists/wordlist1.txt",
  "Wordlists": [ "/usr/wordlists/wordlist1.txt", "/usr/wordlists/wordlist2.txt", "/usr/wordlists/wordlist3.txt"]
}

If there's only one element in the array, use that by default, otherwise ask for the number like 1-10

d4rckh avatar May 16 '21 12:05 d4rckh

Guess we could do that. More like a number from 0 - length

daanbreur avatar May 16 '21 15:05 daanbreur

Guess we could do that. More like a number from 0 - length

Yup

d4rckh avatar May 18 '21 19:05 d4rckh