Skip to content

Native websocket support in pwntools #2299

Open
@kpcyrd

Description

@kpcyrd

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions