curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Fwd: connect to websocket how then I cand send messages?

From: Daniel Stenberg via curl-users <curl-users_at_cool.haxx.se>
Date: Sat, 5 Sep 2020 22:47:38 +0200 (CEST)

On Sat, 5 Sep 2020, Luis tuti via curl-users wrote:

> I see a curl request in burp suite where it connects with websocket. I see
> in websockets tab xmpp messages.

What is a "curl request" here? Are you saying that the "burp suite" uses the
curl command line tool to speak websockets? If they do, they applied some
magic I don't know about.

More likely, they used libcurl (or something else) to inititate the HTTP
request that then did the websockets uppgrade, and then their application does
the rest of the necessary logic, post handshake.

> I would like replicate with curl command

Since curl can't speak websockets, I don't know how that can be done. If
someone else did, ask them how they did it!

-- 
  / daniel.haxx.se | Commercial curl support up to 24x7 is available!
                   | Private help, bug fixes, support, ports, new features
                   | https://www.wolfssl.com/contact/
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2020-09-05