8000 Get manx working again by daw1012345 · Pull Request #3160 · mitre/caldera · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Get manx working again #3160

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

Merged
merged 5 commits into from
Apr 10, 2025
Merged

Conversation

daw1012345
Copy link
Contributor

Description

A set of fixes to get the tcp contact working again. Not that ideally this would be completely refactored, as it doesn't seem to handle disconnects very gracefully.

Depends on MR in mitre/manx to fully work.

@uruwhy uruwhy self-assigned this Apr 3, 2025
Copy link
Contributor
@uruwhy uruwhy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/daw1012345/caldera/blob/fix/manx_unusable/tests/contacts/test_contact_tcp.py#L16 needs to be replaced with session_with_socket_error.writer.write.side_effect = socket.error() in order for the unit tests to work again

@daw1012345 daw1012345 requested a review from uruwhy April 4, 2025 14:51
@elegantmoose elegantmoose self-requested a review April 10, 2025 21:15
@elegantmoose elegantmoose merged commit 8afe2ee into mitre:master Apr 10, 2025
1 of 5 checks passed
@elegantmoose
Copy link
Contributor

Nice work @daw1012345

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0