diff --git a/ESPCanary/ESPCanary.cpp b/ESPCanary.cpp similarity index 100% rename from ESPCanary/ESPCanary.cpp rename to ESPCanary.cpp diff --git a/ESPCanary/ESPCanary.h b/ESPCanary.h similarity index 100% rename from ESPCanary/ESPCanary.h rename to ESPCanary.h diff --git a/ESPCanary/README.md b/ESPCanary/README.md deleted file mode 100644 index b0401f8..0000000 --- a/ESPCanary/README.md +++ /dev/null @@ -1,15 +0,0 @@ -# ESPCanary -Use an ESP8266 or ESP32 as an FTP server to detect that someone is snooping around your network. - -To use it in its most basic form, create a free "Web Bug/URL token" at http://canarytokens.org/generate and paste it in your sketch as the "canary" variable. - -When someone connects to the FTP server, you will receive a near instantaneous email warning you that -someone is snooping. For a little bit more advanced tracking, use the other canary tokens and upload them to the SPIFFS of the ESP board and let the hacker download them and trigger them. - -Note that although it looks like users can upload and rename the files on your FTP server, that's all smoke and mirrors. Those changes are flushed away when the user reloads the files and are never actually present on the ESP. - -To connect to the ESP over FTP, grab the ip from the serial monitor and connect with admin, any password, port 21. You may have to check a box to allow insecure connections. - -I'm clearly not a C developer if you want to contribute and help make this project better! - -This is a fork of the https://github.com/nailbuster/esp8266FTPServer library by David Paiva. diff --git a/ESPCanary/LICENSE b/LICENSE similarity index 100% rename from ESPCanary/LICENSE rename to LICENSE diff --git a/ESPCanary/examples/SimpleHoneypot/SimpleHoneypot.ino b/examples/SimpleHoneypot/SimpleHoneypot.ino similarity index 99% rename from ESPCanary/examples/SimpleHoneypot/SimpleHoneypot.ino rename to examples/SimpleHoneypot/SimpleHoneypot.ino index 3ced546..9062169 100644 --- a/ESPCanary/examples/SimpleHoneypot/SimpleHoneypot.ino +++ b/examples/SimpleHoneypot/SimpleHoneypot.ino @@ -44,6 +44,7 @@ void setup(void){ #ifdef ESP8266 wifi_set_macaddr(STATION_IF, &newMACAddress[0]); #elif defined ESP32 + WiFi.mode(WIFI_STA); esp_wifi_set_mac(ESP_IF_WIFI_STA, &newMACAddress[0]); #endif diff --git a/ESPCanary/library.json b/library.json similarity index 100% rename from ESPCanary/library.json rename to library.json diff --git a/ESPCanary/library.properties b/library.properties similarity index 94% rename from ESPCanary/library.properties rename to library.properties index 05995d1..9e4061e 100644 --- a/ESPCanary/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=ESPCanary -version=1.0.0 +version=1.0.2 author= maintainer=noreply@anothermaker.com, sentence=Create an ESP32 or ESP8266 OpenCanary Honeypot