Homebrew Question Titles Installer Net Install

proconsule54

Well-Known Member
OP
Member
Joined
Nov 5, 2019
Messages
755
Trophies
1
Age
43
XP
2,700
Country
Italy
Hi all, i want to know the process behind nsp net install (tinfoil net implementation).
Looking at sources code the process seems like
  1. Switch Open TCP port 2000 (if i am not wrong) waiting for data from PC Software
  2. The PC software open a webserver and send via tcp on port 2000 to switch the url of file into this webserver ( i dont know the format used)
  3. Switch will retrive this file and install it

Is this right?
If yes what is the format of tcp data sent to this port 2000?
Tanks
 

FexBAT

Member
Newcomer
Joined
Jun 29, 2020
Messages
9
Trophies
0
Age
42
XP
92
Country
Netherlands
  • Like
Reactions: proconsule54

proconsule54

Well-Known Member
OP
Member
Joined
Nov 5, 2019
Messages
755
Trophies
1
Age
43
XP
2,700
Country
Italy
.xlsx obviously
:rofl2::rofl2:

--------------------- MERGED ---------------------------

@FexBAT i checked the code of remote_install_pc.py and seems easy to implement (i wanto to do it in PHP)

format seems

len of file list (packed as big-endian unsigned long) + file list

file list seems only urllist +\n

Is right?
 
Last edited by proconsule54,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    OctoAori20 @ OctoAori20: Nice nice-