guanicoe / ESPBug_PIO

ESPBug is a rogue captive portal program which runs on the ESP8266 dev board, such as the NodeMCU (clones included). It is a social engennering tool which generates a WiFi network of a given name alluring people to connect to it and enter some credentials.
121 stars 28 forks source link

I can't add logo to captive html #1

Open ehsanshahbaloch opened 3 years ago

ehsanshahbaloch commented 3 years ago

Hi everyone, I can't add a logo to the captive HTML page, is there any way to add a logo and png image to captive HTML?

rernars commented 3 years ago

Me too!

wlwatkins commented 3 years ago

you need to convert your image to a base64 code as shown in the asset folder https://github.com/guanicoe/ESPBug_PIO/blob/b11cd5bf3795840d1846ffd9092ab1b647f21533/src/web_pages/whitehat.html#L18

you can use an online convert such as https://www.base64-image.de/