SpacehuhnTech / esp8266_deauther

Affordable WiFi hacking platform for testing and learning
http://deauther.com
Other
13.34k stars 2.57k forks source link

AP becomes open after changing the default passwd #1648

Closed smolbun closed 10 months ago

smolbun commented 1 year ago

AP password wouldn't save after changing it Tried changing the default password using either using the web interface or using the serial commands but after saving and then rebooting, the AP becomes open.

To Reproduce Steps to reproduce the behavior:

  1. Change the default password from deauther to something else like test123
  2. save & reboot
  3. the AP is now open

Via serial terminal

WiFi] Path: '/web', Mode: 'AP', SSID: 'pwned', password: 'deauther', channel: '1', hidden: false, captive-portal: false
===============================
# set password test
Set password = test
# save
Settings saved in /settings.json
# reboot

....
Started AP
[WiFi] Path: '/web', Mode: 'AP', SSID: 'pwned', password: '', channel: '1', hidden: false, captive-portal: false

Unable to set password using startap either

# stopap
# startap -s testap -pswd test
Started AP
[WiFi] Path: '/web', Mode: 'AP', SSID: 'testap', password: 'deauther', channel: '1', hidden: false, captive-portal: false

Expected behavior Password should be saved with the new password that was entered

Environment (please complete the following information):

welcome[bot] commented 1 year ago

Congrats on opening your first issue on this repository! 🎉
This is a automated message to help you avoid common pitfalls when asking for help online.
👉 Be sure to:
🇬🇧 Communicate in English so everybody can understand you
📖 Have a look at the Wiki and README for information
🔍 Search for similar issues (open and closed)
✍️ Provide enough information to understand, recreate and help out with your problem
ℹ️ Let us know if you find a solution and please share it with us
📕 Close the issue when your problem has been solved