Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actual DUCKY Scripts are printed in serial monitor and NOT executed #104

Open
cnu77 opened this issue Feb 7, 2020 · 1 comment
Open

Comments

@cnu77
Copy link

cnu77 commented Feb 7, 2020

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
Copy link
Author

cnu77 commented Feb 10, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant