-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Config File #8
base: main
Are you sure you want to change the base?
Conversation
It contains: - VersionNumber (string) - DefaultWordlist (id, int) - Wordlists (Wordlist sequence, custom type needs import)
For now it only has a Path and an ID.
Vaf configfile base
Removed the version number from the configfile.
Return Type *VafConfigStructure*
Contains *parseWordlist* and *parseVafConfig* function parseWordlist <private>: - parameter type *JsonNode* - returns type *VafWordlist* parseVafConfig <public>: - parameter type *JsonNode* - returns type *VafConfigStructure*
WIP: Config parser
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"]
} |
Yes sir! Im working on it. {
"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 |
Guess we could do that. More like a number from 0 - length |
Yup |
as requested in #7