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

darkxex

Well-Known Member
OP
Member
Joined
Jun 13, 2016
Messages
152
Trophies
0
Age
28
Location
Santiago
XP
876
Country
Chile
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.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
35,526
Trophies
2
Website
trastindustries.com
XP
25,435
Country
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).
 

darkxex

Well-Known Member
OP
Member
Joined
Jun 13, 2016
Messages
152
Trophies
0
Age
28
Location
Santiago
XP
876
Country
Chile
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."
 

darkxex

Well-Known Member
OP
Member
Joined
Jun 13, 2016
Messages
152
Trophies
0
Age
28
Location
Santiago
XP
876
Country
Chile
It's not something you find on Google, since the drama is the SSL of the switch, anyway it was already solved.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
    WARIOLOVER57 @ WARIOLOVER57: hi