BugBlocker/lotus

Implementing config file feature

knassar702 opened this issue · 1 comments

we can create config file to save default configuration and scope of the scan

$ lotus scan .... --config scope.toml

scope.toml

include = ["http://google.com", "http://.*.nokia.com"]
exclude = ["http://example.com"]

[headers]
X-API-TEST = "123"

output = "output.json"
script_workers = 15
workers = 10
urls_file = "urls.txt"

We can ignore this for now, scene we don't have a lot of options to be written in the config file