Closed Ekultek closed 6 years ago
Good idea, we'll provide our list of exploits as JSON and read it in as such as well. I think we should give the user the ability to load in a list of exploits as a regular text file as well though, we'll reformat it to JSON on the fly. That way we give the user an easy way of providing their own lists, whether as text file or JSON.
I have added a modules.json
file to /etc
in the dev-beta
branch and i have included the plan in the TODO list as well.
https://github.com/NullArray/AutoSploit/commit/dde825ba109acaef890083e0f3884cee672f0346
I'll work on writing a function to load in json files and converting txt to json as well today.
I’ll work on this first when I have a chance, I have a good idea on how we can get it to work, also how we could pass a text file and save it as a JSON in the same dir, thus having multiple possible exploit files to work with
Note to self;
Sounds good to me :+1:
the starting implement is done here https://github.com/NullArray/AutoSploit/pull/52
Note to self;
BTW Now that you are a collaborator you should be able to merge pulls yourself as well right?
@NullArray yes I can
Closing in favor of #57
Implement JSON format for the modules over text files:
JSON is easier to deal with, and this way people can implement their own into the file easily. Or we could accept JSON formatted files with a list of modules (as above) for personal exploits.