Question how can i get the html code of a site with ssl, with curl on nintendo switch? homebrew development.

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by darkxex, Sep 15, 2019.

  1. darkxex
    OP

    darkxex Advanced Member

    Newcomer
    2
    Jun 13, 2016
    Cote d'Ivoire
    how can i get the html code of a site with ssl, with curl on nintendo switch? homebrew development.
    someone can upload a example of code. please.
     
  2. FAST6191

    FAST6191 Techromancer

    pip Reporter
    23
    Nov 21, 2005
    United Kingdom
    I am not entirely sure where you are going with this. What are you trying to do? At a guess I imagine you want to watch what Nintendo's servers or something send back when a Switch talks to them.

    Do you know the URL?
    If so visit with something else and grab that way. Even without that most server side checks stop at basic browser user agent and don't do any of the more advanced things (in a presentation I watched once they noticed different browsers send requests/info packets in different order or format and thus spoofed user agent could be detected). Though if you want to sit the other side of a VPN and make new sessions each time then that is not a bad plan.

    After that then yeah some kind of man in the middle or SSL stripping would be needed. In this case it would probably be easier to hack the Switch and dump its memory as it comes in (I doubt it encrypts the site it reads in memory).
     
  3. darkxex
    OP

    darkxex Advanced Member

    Newcomer
    2
    Jun 13, 2016
    Cote d'Ivoire
    friend, what you say, has nothing to do with what I asked. yellows8 told me that: "HTTPS with curl can already be used via mbedtls."
     
  4. uyjulian

    uyjulian Homebrewer

    Member
    9
    Nov 26, 2012
    United States
    United States
  5. darkxex
    OP

    darkxex Advanced Member

    Newcomer
    2
    Jun 13, 2016
    Cote d'Ivoire
    It's not something you find on Google, since the drama is the SSL of the switch, anyway it was already solved.
     
Quick Reply
Draft saved Draft deleted
Loading...