Skip to content
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

Implementing config file feature #134

Open
knassar702 opened this issue May 22, 2023 · 1 comment
Open

Implementing config file feature #134

knassar702 opened this issue May 22, 2023 · 1 comment
Labels
core-changes make changes for Lotus Core in Rust

Comments

@knassar702
Copy link
Contributor

knassar702 commented May 22, 2023

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"
@knassar702 knassar702 added the core-changes make changes for Lotus Core in Rust label May 22, 2023
@knassar702 knassar702 added this to the 0.6.0-beta milestone May 22, 2023
@knassar702 knassar702 changed the title Implementing Scope feature Implementing config file feature May 22, 2023
@knassar702 knassar702 removed this from the 0.6.0-beta milestone May 31, 2023
@knassar702
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core-changes make changes for Lotus Core in Rust
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant