awesome-repositories.com
Blog
MCP
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
websockets avatar

websockets/wscat

0
View on GitHub↗
2,675 stars·249 forks·JavaScript·mit·6 vues

Wscat

wscat is a command-line WebSocket client and server tool that provides an interactive terminal interface for connecting to WebSocket endpoints, sending and receiving text messages in real time, and managing WebSocket control frames through typed slash commands. It supports basic HTTP authentication by injecting credentials into the initial WebSocket handshake request, and can route connections through an HTTP proxy using the CONNECT tunneling method.

The tool includes a built-in WebSocket server mode that listens on a specified port, accepts incoming client connections, and relays messages between connected clients. It also supports automated command execution, allowing predefined commands to run automatically after a WebSocket connection is established. The event-driven message loop handles incoming WebSocket frames and user commands asynchronously, while slash commands map directly to WebSocket control frames for ping, pong, and close operations.

The project provides a collection of WebSocket client implementations, including a basic auth client, a CLI client, a control frame sender, and a proxy client, all accessible through a single command-line interface. The documentation covers installation and usage for both client and server modes.

Features

  • Terminal Interaction - Provides an interactive terminal interface for sending and receiving WebSocket messages in real time.
  • Real-time Messaging - Transmits typed text lines to the connected server and displays incoming messages in real time.
  • WebSocket Clients and Servers - Provides a built-in WebSocket server that accepts connections and relays messages between clients.
  • Port-Based WebSocket Listeners - Starts a local WebSocket server on a specified port to accept incoming client connections.
  • WebSocket Clients - Provides a command-line tool for connecting to WebSocket servers and exchanging messages interactively.
  • WebSocket Handshake Authentications - Attaches basic HTTP authentication headers to the initial WebSocket handshake request for credential-based access.
  • WebSocket Handshake Injections - Injects Basic HTTP authentication headers into the initial WebSocket upgrade request for credential-based access.
  • WebSocket Control Frame Commands - Maps typed slash commands directly to WebSocket control frames for ping, pong, and close operations.
  • WebSocket Control Frame Senders - Sends WebSocket control frames such as ping, pong, and close via slash commands.
  • WebSocket Proxy Routings - Forces WebSocket connections through an HTTP proxy that supports the CONNECT method.
  • WebSocket CONNECT Tunnels - Routes WebSocket connections through an HTTP proxy using the CONNECT tunneling method.
  • Authenticated - Attaches basic HTTP authentication credentials to the WebSocket handshake request for credential-based access.
  • Proxy-Routed - Routes WebSocket connections through an HTTP proxy supporting the CONNECT method.
  • Event-Driven Architectures - Uses an event-driven architecture to handle incoming WebSocket frames and user commands asynchronously.
  • Vulnerability Exploitation - Utility for testing and interacting with WebSocket services.

Historique des stars

Graphique de l'historique des stars pour websockets/wscatGraphique de l'historique des stars pour websockets/wscat

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Wscat

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Wscat.
  • sta/websocket-sharpAvatar de sta

    sta/websocket-sharp

    6,067Voir sur GitHub↗

    websocket-sharp is a C# library implementation of the WebSocket protocol used for building bidirectional client and server applications. It enables real-time data exchange between endpoints via persistent connections. The library provides specialized networking capabilities, including SSL encrypted networking for secure transport and certificate validation. It also features HTTP proxy tunneling to route traffic through intermediary servers using basic or digest authentication. The project covers a broad range of capabilities, including the implementation of both WebSocket clients and servers

    C#
    Voir sur GitHub↗6,067
  • vi/websocatAvatar de vi

    vi/websocat

    8,571Voir sur GitHub↗

    Websocat is a specialized set of command-line tools for WebSocket communication, acting as a client, server, and stream processor. It provides a terminal-based interface for connecting to WebSocket servers, hosting secure WebSocket servers, and bridging data between WebSockets and other network transports. The project distinguishes itself by functioning as a bidirectional network relay, allowing the routing of data between WebSocket streams, TCP sockets, UNIX sockets, and standard system input and output. It includes specialized implementations for SOCKS5 and HTTP proxying, as well as a strea

    Rustclicommand-linecommand-line-tool
    Voir sur GitHub↗8,571
  • ithewei/libhvAvatar de ithewei

    ithewei/libhv

    7,521Voir sur GitHub↗

    libhv is a high-performance C/C++ network library and event-driven I/O framework used to build TCP, UDP, SSL, HTTP, WebSocket, and MQTT clients and servers. It provides a non-blocking event loop for managing network sockets, timers, and system signals across multiple threads. The project is distinguished by its integrated support for specialized network roles, including a full HTTP web server with RESTful routing and middleware, an MQTT messaging client for IoT communication, and the ability to implement SOCKS5 and HTTP proxies. It also features a reliable UDP implementation to ensure ordered

    Ccurlepollhttp-client
    Voir sur GitHub↗7,521
  • aaugustin/websocketsAvatar de aaugustin

    aaugustin/websockets

    5,692Voir sur GitHub↗

    websockets is a Python library for building WebSocket servers and clients using coroutines and the asyncio framework. It provides a complete toolkit for creating production-ready WebSocket applications, including a coroutine-based framework for handling connections, messages, and lifecycle events, as well as a client library for opening persistent bidirectional connections to remote endpoints. The library manages the full lifecycle of WebSocket connections, including handshake, message exchange, and graceful closure, with support for path-based routing to organize server logic across multiple

    Python
    Voir sur GitHub↗5,692
Voir les 30 alternatives à Wscat→

Questions fréquentes

Que fait websockets/wscat ?

wscat is a command-line WebSocket client and server tool that provides an interactive terminal interface for connecting to WebSocket endpoints, sending and receiving text messages in real time, and managing WebSocket control frames through typed slash commands. It supports basic HTTP authentication by injecting credentials into the initial WebSocket handshake request, and can route connections through an HTTP proxy using the CONNECT tunneling method.

Quelles sont les fonctionnalités principales de websockets/wscat ?

Les fonctionnalités principales de websockets/wscat sont : Terminal Interaction, Real-time Messaging, WebSocket Clients and Servers, Port-Based WebSocket Listeners, WebSocket Clients, WebSocket Handshake Authentications, WebSocket Handshake Injections, WebSocket Control Frame Commands.

Quelles sont les alternatives open-source à websockets/wscat ?

Les alternatives open-source à websockets/wscat incluent : sta/websocket-sharp — websocket-sharp is a C# library implementation of the WebSocket protocol used for building bidirectional client and… vi/websocat — Websocat is a specialized set of command-line tools for WebSocket communication, acting as a client, server, and… ithewei/libhv — libhv is a high-performance C/C++ network library and event-driven I/O framework used to build TCP, UDP, SSL, HTTP,… aaugustin/websockets — websockets is a Python library for building WebSocket servers and clients using coroutines and the asyncio framework.… koush/androidasync — AndroidAsync is a non-blocking networking library for Android that provides asynchronous sockets, HTTP clients, and… tootallnate/java-websocket — Java-WebSocket is a collection of classes for implementing WebSocket clients and servers using pure Java. It provides…