Jump to content

Grabbing DS IP out of firmware


knight0fdragon

Recommended Posts

Ok I have found the locations of the DS WIFI IP in the firmware, perhaps we can use this when grabbing AP info for setup. I wrote, but for those wondering:

 

 

wifi data starts at

Slot 1:

0x3FA40

Slot 2:

0x3FB40

Slot 3:

0x3FC40

 

IP Address located at

 

Slot 1:

0x3FAC0

Slot 2:

0x3FBC0

Slot 3:

0x3FCC0

 

 

struct WFCArea

{

char APName[32];

char Unknown1[32];

char WEPKey[32];

char Unknown2[32];

char IP[4];

char Gateway[4];

char DNS1[4];

char DNS2[4];

 

};

E.g.

WFCArea WFCbuffer;

readFirmware(0x3FA40,WFCbuffer,sizeof(WFCArea));

Edited by knight0fdragon
Link to comment
Share on other sites

Ok I have found the locations of the DS WIFI IP in the firmware,  perhaps we can use this when grabbing AP info for setup.  I wrote, but for those wondering:

...

 

Hi! I already made some code to read them in a struct, you can see here:

http://forum.gbadev.org/viewtopic.php?t=82...er=asc&start=15

 

Bafio

 

lol wow i wish i knew that existed, would of saved me a lot of time from doing multiple firmware dumps to find it

Link to comment
Share on other sites

Ok I have found the locations of the DS WIFI IP in the firmware,  perhaps we can use this when grabbing AP info for setup.  I wrote, but for those wondering:

...

 

Hi! I already made some code to read them in a struct, you can see here:

http://forum.gbadev.org/viewtopic.php?t=82...er=asc&start=15

 

Bafio

 

lol wow i wish i knew that existed, would of saved me a lot of time from doing multiple firmware dumps to find it

This has been well documented for some time so you should really have done a search first.

Link to comment
Share on other sites

Ok I have found the locations of the DS WIFI IP in the firmware,  perhaps we can use this when grabbing AP info for setup.  I wrote, but for those wondering:

...

 

Hi! I already made some code to read them in a struct, you can see here:

http://forum.gbadev.org/viewtopic.php?t=82...er=asc&start=15

 

Bafio

 

lol wow i wish i knew that existed, would of saved me a lot of time from doing multiple firmware dumps to find it

This has been well documented for some time so you should really have done a search first.

 

 

searchin the firmware for 192.168.1.1 is a lot faster then searching a crap load of web pages and forum pages

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...