exploitagency / ESPloitV2

WiFi Keystroke Injection Tool designed for an Atmega 32u4/ESP8266 Paired via Serial (Cactus WHID Firmware). Also features Serial, HTTP, and PASV FTP exfiltration methods and an integrated Credential Harvester Phishing tool called ESPortal.
MIT License
558 stars 136 forks source link

"*** was not declared in this scope" when trying to export compiled binary #54

Open Zeklyn opened 4 years ago

Zeklyn commented 4 years ago

Hello, I am trying to flash ESPloitV2 onto my whid cactus usb pin. I've followed the tutorial and everything works until I get to ESP_Code where I have to click "export compiled binary". Doing so results in five "**** was not cleared in this scope"

Flash size is the correct amount and board is ""Generic ESP8266 Module". Below are the errors

C:\Users\Zeklyn\Desktop\ESPloitV2-master\source\ESP_Code\ESP_Code.ino: In function 'void handleSettings()': ESP_Code:310: error: 'handleSubmitSettings' was not declared in this scope

C:\Users\Zeklyn\Desktop\ESPloitV2-master\source\ESP_Code\ESP_Code.ino: In function 'void handleSubmitSettings()': ESP_Code:360: error: 'saveConfig' was not declared in this scope

ESP_Code:362: error: 'loadConfig' was not declared in this scope

C:\Users\Zeklyn\Desktop\ESPloitV2-master\source\ESP_Code\ESP_Code.ino: In function 'bool loadDefaults()': ESP_Code:410: error: 'loadConfig' was not declared in this scope

exit status 1 'handleSubmitSettings' was not declared in this scope

I first used the most recent version of "esp8266 by ESP8266", and "ArduinoJson by Benoit Blanchon". I somehow thought that could be an issue so I changed to the version listed in the readme, but it didn't change anything.

Operation System: Windows 10 v1903 (Build 18362.418) Arduino IDE Version: 1.6.9 (due to 1.8.10 required me to rewrite parts of the code to json v6 instead of v5)

I've tried searching around, and I have to admit that I am not the best in arduinos. Any help is appreciated.