spacehuhn/wifi_ducky

Actual DUCKY Scripts are printed in serial monitor and NOT executed

cnu77 opened this issue · 1 comments

cnu77 commented

After so many iterations, somehow I flashed the ESP8266 part.

I tried this video https://www.youtube.com/watch?v=G-Z2rf_AN-c

I followed the steps.

Flash ATMEGA32U4, using Step1.ino file
Flash ESP8266 using esp8266_flasher.exe and esp8266_wifi_duck_4mb.bin as bin file. Held a jumper cable to the 2 circles, pushed it to USB. Connected to the USB. Did not take the cable out. Click on Download on the flasher and uploaded and finally said 'leaving...'
Now, I can connect to the WiFi Duck with password quackquack.

But, I cannot run the script. Nothing happens.

When I checked in the Serial monitor, I saw some weird characters and also THE SCRIPT IS PRINTED INSTEAD OF GETTING EXECUTED.

So, in the Step1.ino I changed the baud rate as below:

Serial.begin(115200) --> Junk
Serial.begin(57600) --> Print the actual commands in Serial Monitor, but nothing gets executed
Serial.begin(9600) --> Nothing happens

Any idea?

cnu77 commented

After so many iterations, somehow I flashed the ESP8266 part.

I tried this video https://www.youtube.com/watch?v=G-Z2rf_AN-c

I followed the steps.

Flash ATMEGA32U4, using Step1.ino file
Flash ESP8266 using esp8266_flasher.exe and esp8266_wifi_duck_4mb.bin as bin file. Held a jumper cable to the 2 circles, pushed it to USB. Connected to the USB. Did not take the cable out. Click on Download on the flasher and uploaded and finally said 'leaving...'
Now, I can connect to the WiFi Duck with password quackquack.

But, I cannot run the script. Nothing happens.

When I checked in the Serial monitor, I saw some weird characters and also THE SCRIPT IS PRINTED INSTEAD OF GETTING EXECUTED.

So, in the Step1.ino I changed the baud rate. Nothing happened. After 2 days of searching, its fine now.

This is what happens with you do not have any idea about what you are doing.

After spending some time in going through the files that I have, I compared the .ino files I uploaded into ATMEGA32U4 with the actual script from the site, I found that what I uploaded is just a sample script which just prints whatever you send from 192.168.4.1.

Now, I uploaded the correct script and working like a charm.