I recently acquired a BashBunny, and I have been playing with it for two days. This morning I managed to deploy a payload that launches a reverse meterpreter through powershell by making use of the HID and a veeeeery long string.
So, if I define this very long string as a unique string (Q STRING "Very Long String"), the payload works as expected in my PC, but it fails on my laptop as it seems the letters are not written in the right order, or some letters are missing. In order to mitigate this, I have divided the long string in multiple "Q STRING" statements, adding a DELAY of 100ms between then.
Q STRING "Part 1"
Q STRING "Part 2"
Even doing this, the payload fails in my laptop. When comparing what is written between my PC and my laptop, the laptop is missing like 80 characters of a total of 8000. Is there any way to solve this, other than shorting the strings even more and adding more delay?
Thank you very much, guys!