-
Notifications
You must be signed in to change notification settings - Fork 807
2136 hadoop option try all http ports #2996
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
2136 hadoop option try all http ports #2996
Conversation
return [ | ||
port | ||
for port, psd in target_host.ports_status.tcp_ports.items() | ||
if psd.status == PortStatus.OPEN and psd.service == NetworkService.HTTP |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@VakarisZ Can you refresh my memory why this exploiter doesn't support HTTPS?
GOOD_PORT = NetworkPort(12345) | ||
GOOD_PORT_DATA = PortScanData( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GOOD_PORT = NetworkPort(12345) | |
GOOD_PORT_DATA = PortScanData( | |
HTTP_PORT = NetworkPort(12345) | |
HTTP_PORT_DATA = PortScanData( |
urls_passed_to_exploit = [ | ||
args[0][3] for args in mock_hadoop_exploit_client.exploit.call_args_list | ||
] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
assert len(urls_passed_to_exploit) == 3 |
63ee0a4
to
d3cd631
Compare
What does this PR do?
Fixes part of #2136.
Add the
try_all_discovered_http_ports
option to Hadoop.PR Checklist
Was the documentation framework updated to reflect the changes?Testing Checklist