Hacking WIP httpnand

Dann_

Well-Known Member
OP
Newcomer
Joined
May 3, 2016
Messages
66
Trophies
0
Age
32
XP
204
Country
Afghanistan
httpnand
httpnand is a tool that allows you to dump your nand over http. It was designed to be used for dumping the nand of the Nintendo Switch but it should be able to dump any /dev device on linux

Requirements
  • Linux running on your Nintendo Switch
  • NodeJS and NPM
Usage
To use httpnand you just clone to project on your Nintendo Switch, cd into the directory and run

npm install and npm start

The server should start and it should output your Nintendo Switch's ip address and the port it's listening to.

On your computer you just open a browser and go to the url displayed on your Switch. It should open a list of links to all the different dumpable devices.

Alternatively you can go download specific devices (boot0 for example) by going to url/device/mmcblk1boot0.

Downloads
You can clone it from github:
https://github.com/daanhenke/httpnand
 
Last edited by Dann_,

x65943

i can be your sega dreamcast or sega nightmarecast
Supervisor
GBAtemp Patron
Joined
Jun 23, 2014
Messages
6,242
Trophies
3
Location
ΗΠΑ
XP
26,727
Country
United States
Very cool. Would it be possible using the same method to restore the nand backup?
 

Dann_

Well-Known Member
OP
Newcomer
Joined
May 3, 2016
Messages
66
Trophies
0
Age
32
XP
204
Country
Afghanistan
Very cool. Would it be possible using the same method to restore the nand backup?
Yeah, I could add support for restoring nand aswel

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

Doesn't require a big sdcard, is probably faster than copying to an sdcard and then copying to your pc
 

Reploid

Well-Known Member
Member
Joined
Jan 20, 2010
Messages
2,832
Trophies
2
XP
6,282
Country
Serbia, Republic of
Yeah, I could add support for restoring nand aswel

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


Doesn't require a big sdcard, is probably faster than copying to an sdcard and then copying to your pc
how big the nand is?
 

Dann_

Well-Known Member
OP
Newcomer
Joined
May 3, 2016
Messages
66
Trophies
0
Age
32
XP
204
Country
Afghanistan
Is this the best method for backing up the nand or will we see a simpler method when CFW is arriving?
If you have a linux install ready this is probably the easiest, if not, i believe there are people working on a fusee payload that can dump nand and i'd like to try that myself aswel
 
  • Like
Reactions: kombos

kombos

Well-Known Member
Member
Joined
Apr 24, 2018
Messages
140
Trophies
0
Location
Universe
XP
167
Country
Ukraine
If you have a linux install ready this is probably the easiest, if not, i believe there are people working on a fusee payload that can dump nand and i'd like to try that myself aswel

There is already tutorial and working tool to dump NAND and BIS keys easily to access encrypted partitions
https://gbatemp.net/threads/tutorial-how-to-dump-switch-nand-using-linux.502201/

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

Your internet speed doesn't matter. You are dumping over your local network to your PC

Which was proven to be slow as hell comparing to local SD Card dump. It took me less than 10 minutes to dump whole NAND locally and then I just took the card and copied NAND. Considering issues with the driver (unless something changed since yesterday) transfering over network was like ~7 hours and broken after few hundred megabytes. These WiFi drivers are not reliable. And untill we figure out how to connect 1GB USB Network adapter network transfer is rubish.
 

kombos

Well-Known Member
Member
Joined
Apr 24, 2018
Messages
140
Trophies
0
Location
Universe
XP
167
Country
Ukraine
Your method is great for local dumps; however, I do not believe your method incorporates network transfer IIRC.

Well, As I said, I'm not really interested in making such things over network because it's pain in the ass (for me). Everyone doing whatever he want. I'm happy to see alternatives, but at the end of the day once someone publish proper payload we will get dumps over USB ultra fast :} And it happen soon, then noone even look at these threads. However tutorial is updated all the time, and some of the users managed to get compressed dumps using network connection over night. It's all documented in tutorial. There is another drawback - you are not able to verify checksums of the image when you're transfering it over network. And it might happen that you will be waiting 3 hours instead of 10 minuted to figure out that your image is corrupted :} Have fun tho. My idea is rather to make simple toolbox to fiddle layer above in encrypted area :)
 

Shadow LAG

Well-Known Member
Member
Joined
May 10, 2013
Messages
256
Trophies
1
Age
33
XP
568
Country
United States
Which was proven to be slow as hell comparing to local SD Card dump. It took me less than 10 minutes to dump whole NAND locally and then I just took the card and copied NAND. Considering issues with the driver (unless something changed since yesterday) transfering over network was like ~7 hours and broken after few hundred megabytes. These WiFi drivers are not reliable. And untill we figure out how to connect 1GB USB Network adapter network transfer is rubish.

I believe the issue was due to you using WinSCP. There are A LOT of issues with that: https://winscp.net/forum/viewtopic.php?t=5096
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: Hi