Jump to content
zapptheman

[Tutorial] How to | Change the SSID/AP name of your esp chip

Recommended Posts

Hi guys.

 

One of my subscribers recently asked me to show them how to change the SSID name for their ESP8266 chip while running someone else's firmware.

 

At the time of writing this, it seems that c0d3m4st4's firmware is one of the best around, which also has the greatest user base. So i will be making this tutorial using his firmware. You can download it by clicking here. He has also advised me that in a future release, it will be much easier to change the AP name as it will be a built in function which i will show below. But for the time being, there are many other firmware's out there which also do not allow you to change the AP name, so i will be showing you how in today's tutorial. Please find a video below for visual instructions, and a written tutorial beneath for written instructions (for your preference)

 

Video

 

 

Written Tutorial

 

What you will need:

 

c0d3m4st4 firmware - https://playstationhax.xyz/forums/topic/4550-released-esp8266-xploit-host-v271-by-c0d3m4st4-ps4/

The Tool to flash your ESP chip - https://github.com/marcelstoer/nodemcu-pyflasher/releases

HXD - https://mh-nexus.de/en/hxd/

FileZilla - https://filezilla-project.org/download.php (optional if you want to use FTP functions)

 

Step 1: Download all of the above files, you can substitute the firmware for one you wish to use. (I AM USING VERSION 2.70)

Step 2: Make sure you install HXD and extract the firmware file and flash tool to a location you will remember.

Step 3: Flash the Firmware file to your ESP chip for the first time if you haven't already.

Step 4: Unplug it from usb for about 10 sec once done flashing, then plug it back in and wait for the wifi network to come up. Take note of the AP name, in my case it's "ESP8266XploitHost" 

Step 5: Locate the firmware file you flashed and open it up with HXD.

Step 6 (you can skip to step 17 if you are using the same firmware as me): Now you need to find the correct offsets to modify. This will be trial and error so can take some time depending on how fast you are :)

Step 7: Press (ctrl + r) on your keyboard to bring up the replace tool. 

Step 8: In the "Search For" field, populate this with the AP name I told you to take note of earlier. In my case, it was "ESP8266XploitHost"

Step 9: In the "Replace With" field, enter what you want your WiFi name to be, In my case, i did "ESP8266XploitTest" (note that when changing the name, do not make it anything longer than what was originally there or else you will break the firmware) 

Step 10: Select "prompt on replace" and select "All" for the search function and then press "replace all". When the first notification comes up it should read "Confirm" Before clicking ok, take note of the Offset, write this down somewhere. (The part highlighted yellow in the image below is the offset)

B3pA6TJ.png

Step 11: Once you have written down the offset, press "Yes" and let it replace that value with the name you want to use. 

Step 12: Another box will come up asking you to confirm, you can click the cross in the top right corner of the box to close it.

Step 13: Flash save this file and flash it to your ESP chip.

Step 14: Repeat step 4 and see if the WiFi name has changed (i would recommend using a phone to check as windows wifi cache's the old ssid/AP name so it might not show thenew one)

Step 15: If this worked for you, then you can continue to the next step, otherwise, continue performing steps 6 - 14 with the same firmware file until the AP name changes.

Step 16: If you are here now, the last change you made must have updated the ssid/AP Name, Make sure you remember the offset for the one that changed it, and now extract a fresh version of the firmware which you have not yet modified.

Step 17: Open the fresh firmware file and press (ctrl + g) and enter the Offset value in there. (In my case, it was 00056970) then press "ok" and it will take you to that offset. 

Step 18: Click on the text in the right side (click just before the first letter of the wifi name) And begin typing the name you want it to be (DO NOT PRESS THE DELETE BUTTON)

Step 19: If your name is shorter than the one which was there, you will need to click on the hex values on the left, and click on the one which resembles the next character on the right. See the image below

7r6qNL4.png

Step 20: type 0's until you reach the zero's which are already there (this is so that no further text is entered into the SSID/AP name

Step 21: Flash it and repeat step 14 to test that it all worked. (If this didn't, try again the process again from the beginning until it works for you)

Step 22: Profit? This should now work as normal just with a different name.

 

Optional extras to FTP

 

Step 23: In order to FTP to this device you will need to download an FTP client such as filezilla, and install and open it for use.

Step 24: Connect to your ESP chips WiFi with your PC.

Step 25: In the top left corner, you will see a button which when hovered over states "Open the site manager" Click this button

Step 26: Click on the "New Site" Button on bottom left of the box that popped up. Name it whatever you want. 

Step 27: To the right, put the host address and port (Consult your firmware's documentation to see if FTP is supported and the credentials) For me, the IP was 13.37.13.37 and the port was 21.

Step 28, just a bit further beneath the "Host" textbox, you will see a dropdown menu for "encryption" click this and select "only use plain FTP"

Step 29: For logon type, select "Normal" and enter the credentials for your chips firmware. for me it is User:ps4xploit Pass:ps4xploit (note, password may change when you change the password for the WiFi)

Step 30: click on transfer settings and select "limit number of simultaneous connections" and make sure it is set to "1"

Step 31: Click Connect and it should work. (if not, try unplugging for a minute and plugging back in and wait a min for your PC to connect and try again.

Step 32: Profit?

 

Thanks to @c0d3m4st4 for the great firmware and for letting me make this video/tutorial. If you guys want to say thanks to him for his time, please feel free to support him

 

Should you have any Questions or queries, feel free to drop a comment below and I'll see if i can help you out.

Share this post


Link to post
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

×