mirror of
https://github.com/SpacehuhnTech/esp8266_deauther.git
synced 2026-04-26 08:15:51 +03:00
[GH-ISSUE #41] esp8266_deauther .html not able to modify #27
Labels
No labels
best of
bug
development
discussion
documentation
duplicate
feature request
help wanted
help wanted
improvement
pinned
pull-request
question
stale
translation
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/esp8266_deauther#27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sounakdeb on GitHub (Feb 24, 2017).
Original GitHub issue: https://github.com/SpacehuhnTech/esp8266_deauther/issues/41
How to modify the esp8266_deauther .html files i try but not working.
i'm edit the index.html then upload its not showing in the browser.
@spacehuhn commented on GitHub (Feb 24, 2017):
Use the
minifier.htmlin html files to minify and then 'byte-ify' your changed code. In data.h you can then replace the byte array and upload.@sounakdeb commented on GitHub (Feb 25, 2017):
thank you it's working now
@castalia3 commented on GitHub (Oct 23, 2020):
@spacehuhn @sounakdeb
I apologize in advance for any questions that may seem silly
I am trying to perform the procedure for editing html files,
i installed anglerfish
I run the script from its location after modifying the files in web_interface
i've upload the files via sketch data upload from the arduino IDE
I start the esp8266 but the changes don't appear, where am I wrong?
*before uploading the files via IDE I flashed the bin file (v1) via ESP8266 FLASHER
*i also tried reloading the new .bin file (generated by the python script) with updated webfiles.h page, i get `error: (before loading the new bin I reset the board)
*the changes I made concern only the index page, I added a letter to h1, as a test
@Bommlon commented on GitHub (Oct 26, 2020):
Did you make sure 'indexhtml' was written correctly? Because this error usually means that there's no variable with that name in the code.
@castalia3 commented on GitHub (Oct 26, 2020):
@Bommlon
yes I checked the code, I also opened the updated file in data / web and I checked that the contents of index.html.gz were written correctly.
What should be the step by step procedure to edit the html? Were you successful?
thanks for the support
@spacehuhn commented on GitHub (Oct 26, 2020):
The procedure to is very easy as long as you only modify existing files (without adding, renaming or removing files):
web_interfaceutils/webconverter.pyIf you add or remove files, you'll need to edit
wifi.has well.If you make changes and don't see the result, try clearing the browser cache.
@castalia3 commented on GitHub (Oct 26, 2020):
@spacehuhn
Thanks for replying, The procedure you indicated is the one I followed. When I try to upload the .ino file via IDE I get this error:
Have no idea what the problem could be?
I want to clarify that to run the python script, I load the files on a usb key that I insert in raspberry with the kali linux operating system, once the script has been executed I reload the files on a usb key and load them from windows10 via arduino IDE, it could depend on it?
**
i also tried doing everything from windows 10 without going through linux, i get the exact same error message.
Thank you,
@castalia3 commented on GitHub (Oct 26, 2020):
@castalia3 commented on GitHub (Oct 29, 2020):
Does anyone have any idea what the problem might be?
@spacehuhn commented on GitHub (Jan 14, 2021):
This should be fixed, but for reference:
The compiler doesn't like the
-. Instead ofpt-brlangyou could call itptbrlangorpt_brlang.