We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Describe the bug Specifying the ports in the config file does not work correctly. It will scan all ports
To Reproduce Config file:
addresses = ["8.8.8.8"] [ports] 53 = 1
Execute ./rustscan
./rustscan
Expected behavior It should only try to scan the port 53
Screenshots
Desktop (please complete the following information):
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
I think you're correct that this isn't quite working but I'm a little stumped as to the config.
When passed in as a flag, ports is aVec<u16>:
ports
Vec<u16>
pub ports: Option<Vec<u16>>,
…but when read from the config. it's a HashMap<String, u16>:
HashMap<String, u16>
ports: Option<HashMap<String, u16>>,
It's not clear what that Map is mapping though…?!
Map
Sorry, something went wrong.
I think you need to use argument --top for ports in config to be used. Can you try ./rustscan --top?
--top
./rustscan --top
But @PsypherPunk has a point, is there a reason current config use hashmap instead of vector? Wouldn't it be better if config is like
ports = [8080,3000]
instead of
[ports] 8080 = 1 3000 = 1
No branches or pull requests
Describe the bug
Specifying the ports in the config file does not work correctly. It will scan all ports
To Reproduce
Config file:
Execute
./rustscan
Expected behavior
It should only try to scan the port 53
Screenshots

Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: