-->
Page 1 of 1

Virus in ESP_Basic_Flasher.exe

PostPosted: Mon Sep 19, 2016 8:44 am
by hobby16
Hi,
First, thank you Mmiscool for your great job !

My antivirus has detected a trojan in your flasher ESP_Basic_Flasher.exe, name " Win32.Trojan.Downloader". Is it normal ?
So I have flashed the binary the "hard way", with esptool.

Basic works great (I mean really, really great) on 4MB boards (Nodemcu & wemos) but not on my 512kB board (ESP-01), what is the syntax of the flashing with esptool ?

Another thing, I can't get your CSS example work. According to the html raw code, there must be some .js missing during the flashing, especially "widgets.js". I've uploaded "widgets.js" using Basic's file manager but no luck, CSS do not work. Does somebody have a snapshot of the filesystem's files on a freshly flashed ESP, please ?

Re: Virus in ESP_Basic_Flasher.exe

PostPosted: Tue Sep 20, 2016 6:15 pm
by Mmiscool
Hello,

The esp basic flasher should not be flagged by any antivirus that I know of.

Currently I run avast.


As to the extra css and js files you can find them at this link and upload them using the file manager. They are not reuired to run esp basic but can be uploaded optionaly to get a spiffyier editor interface.
https://github.com/esp8266/Basic/tree/NewWebSockets/CSS

When you upload them don't extract the files from the gz archive. Upload them compressed. These are optional files to make the ui for the editor friendly.


If you are trying to use the CSS example note that you must create a css file on your desktop named test.css and then upload it using the file manager in addition to putting in the program to run.

https://www.esp8266basic.com/css-example.html


If you want to style individual eliments of your gui inline with your basic code I sugest you see the following.
HTMLID():

The html id function will return the randomly generated id for the last gui object created. Useful for javascript interaction capabilities.
htmlid()

CSSID:
The cssid command will apply css to the desired item by id. This should be executed immediately after creating a gui object.
Example:
cssid htmlid(), "background-color: yellow;"