steps Posted June 23, 2015 Share Posted June 23, 2015 Hi everybody! I was reviving three Rubber Duckies today - well, I tried. A while back, I flashed my personal Rubber Ducky to be both an HID and a USB mass storage device. This worked fine at the time and is still performing great. But today I tried to flash two company-owned Rubber Duckies - and failed horribly. I pressed the tiny button on the Rubber Ducky while plugging it in. Here's what I tried so far: 1. Dump the working Rubber Ducky's firmware and flash it to one of the other Duckies: sudo dfu-programmer at32uc3b1256 dump > working-rubber-ducky.hex sudo dfu-programmer at32uc3b1256 reset sudo dfu-programmer at32uc3b1256 erase sudo dfu-programmer at32uc3b1256 flash --suppress-bootloader-mem working-rubber-ducky.hex This was followed by this error message: Error parsing the line. Something went wrong with creating the memory image. 2. Download one of the firmware images from GitHub and try it with them (same commands as in the listing above). I tried several images. That got me the same error. I googled the error message and found articles claiming that this error means that the firmware image is corrupted. Can anyone of you guys please help me figure this out? What I want to do: 1. Flash all three Duckies with the same firmware 2. Find out what firmware I originally used (the one that creates a "hybrid" ducky) Any help on the matter is highly appreciated and I thank you guys in advance. Quote Link to comment Share on other sites More sharing options...
OrDox Posted July 3, 2015 Share Posted July 3, 2015 I am having the exact same problem, but I have just received my ducky. You might be correct about firmware being corrupt, especially if you downloaded it with Chrome. I had problems download many tools/files. Try to disable all AV software, also don't forget windows defender. Re-download the firmware with IE and try again. Sometimes Chrome says malicious file and deletes it automatically, although you can recover it if you go into your downloads. Quote Link to comment Share on other sites More sharing options...
OrDox Posted July 3, 2015 Share Posted July 3, 2015 I still had no luck re-downloading and flashing the firmware. If anyone knows the solution to this, please post it here! Quote Link to comment Share on other sites More sharing options...
Bluediamond Posted July 3, 2015 Share Posted July 3, 2015 Good luck with this guys i have not been able to do this myself with the same results. Quote Link to comment Share on other sites More sharing options...
OrDox Posted July 4, 2015 Share Posted July 4, 2015 I was able to flash it on Windows without a single problem. Then I kept getting a java exception trying to encode it on Kali.Used the GUI Encoder once again without a single problem.So @steps if you really need to flash it, just use Windows. If anyone figures out how to flash it on Kali please post the solution, I'm still curious. Thanks Quote Link to comment Share on other sites More sharing options...
howlcoyote Posted July 22, 2015 Share Posted July 22, 2015 I get this "Error parsing the line" when using Kali. On Windows I get an "Invalid HEX file syntax" error. Quote Link to comment Share on other sites More sharing options...
aaroon Posted August 10, 2015 Share Posted August 10, 2015 I get this "Error parsing the line" when using Kali. On Windows I get an "Invalid HEX file syntax" error. I get the exact same thing, Kali and Windows. Have you had any luck resolving? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.