lotus icon indicating copy to clipboard operation
lotus copied to clipboard

Implementing config file feature

Open MindPatch opened this issue 2 years ago • 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"

MindPatch avatar May 22 '23 19:05 MindPatch

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

MindPatch avatar May 31 '23 08:05 MindPatch