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

Native websocket support in pwntools #2299

Open
kpcyrd opened this issue Nov 16, 2023 · 1 comment · May be fixed by #2350
Open

Native websocket support in pwntools #2299

kpcyrd opened this issue Nov 16, 2023 · 1 comment · May be fixed by #2350
Labels

Comments

@kpcyrd
Copy link
Contributor

kpcyrd commented Nov 16, 2023

In 2023 websockets are fairly popular in CTFs, but it seems there's currently no way to make pwntools socket library work with websockets.

  • What the feature does
    • Allow me to connect to a websocket server
    • Allow me to send and receive messages
    • Possibly similar to https://docs.pwntools.com/en/stable/tubes.html, but I'm not sure how well it maps, considering websockets are more like a channel for individual messages instead of an input/output stream
  • Why the feature should exist
    • Many CTFs use it in some way or another
    • There's currently no good way to use pwntools with websockets
  • What tests should be included
    • 🤷

When searching for this feature I found these:

Unfortunately I don't have the time/skills to implement this myself.

@kpcyrd kpcyrd added the feature label Nov 16, 2023
@ksshen0000
Copy link
Contributor

So do you think frankli0324's module matches your need? Can we just modify from his module?

@peace-maker peace-maker linked a pull request Feb 20, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants