DevKitty-io / USB-Nugget

Run DuckyScript payloads on a USB Nugget!
https://usbnugget.com
MIT License
156 stars 18 forks source link

Android copy folders without Data #17

Open DedsecEnzo opened 2 years ago

DedsecEnzo commented 2 years ago

Small problem If you connect the WiFi Nugget to an Android phone, then it tries to copy folders in the Payloads without Data, it thinks it can Backup the data and tries to make an SD card out of it.

skickar commented 2 years ago

I can test this with my Android phone. Can you describe:

  1. What do I need to do to reproduce this bug?
  2. What is supposed to happen?
  3. What happens when the bug is present?

Thanks!

DedsecEnzo commented 2 years ago

Since you can use the Arduino IDE via Playstore I wanted to connect my Android normally to it so I connected the WiFi Nugget normally via Usb-c cable. Everything worked fine, but in the background of my Android to the WifiNugget apparently tried to copy all the folders from the Android, in the folders is nothing in it I guess because of the memory of the Nugget. But then when I connected my nugget to the PC I saw folders like android, downloads etc.. and in them only more subfolders but no files, but on the nugget screen they were not visible

I hope I could help you:)