-
-
Notifications
You must be signed in to change notification settings - Fork 869
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
Config file #71
Comments
Specifically what I am looking for is something like this:
So a listing of IP addresses and their ports. We can use adaptive learning to insert previously found open ports too. This way, over time, the organisation doesn't have to manually write their own open ports -- Rustscan will find them for them. |
I like this format a lot and this issue raised a few questions in my head.
Maybe we are conflating two different things here. The first being a |
I think the original idea for this was to create preset scans for commonly used flags and ranges, and possibly lists of scripts to execute as well. The usage would probably be something similar to |
We can agree on a minimum viable configuration file to get this idea out of the paper. I would be happy starting with:
What do you think? |
Sure! One thing to note is that if we place the config file in We could also create another flag |
#85 Is an issue which relates to this issue. |
I think that adding the option to add to output/pipe results to a default file and specify the file format. Something like:
so you can monitor the file for logs and send them to splunk/elk would be really nice to have as a qos feature |
(copied from #90 (comment)) |
The way we do this in Ciphey is to load the config file (default config) as a dictionary (or hashmap, as we're in Rust) and then to load the user arguments as another dictionary (StructOpts already does this). Then simply |
Ah, if you're looking to implement a config file, I just wrote a very small, simple library that will do that. Though the format of the config file it can parse is different than what you're planning. But perhaps that could be easily changed. https://lib.rs/crates/configster But I see from #136 that it's probably not necessary at this point. Good luck! |
Closing this one now that we have a config file. We can open following up issues with |
Something that adapts to the user's host is an awesome idea! :)
It can also learn or allow a config file for default commands in the future, things like:
Originally posted by @bernardoamc in #69 (comment)
The text was updated successfully, but these errors were encountered: