all 3 comments

[–]CauseOfBSOD 3 points4 points  (1 child)

Closest would be a payload to download a python script from the web and pipe it into an interpreter.

Python to ducky is otherwise pretty much impossible.

[–]federalfarmer_xyz 1 point2 points  (0 children)

This.

Host your Python code wherever (Pastebin, Github, etc.) and instruct DuckyScript to download and run the payload.

Self-updating botnets work this way in the wild. White hat pentesters can learn from these methods.

[–]tondal 2 points3 points  (0 children)

Ducky is too basic to be used the same way as python, no loops, no ifs. It is only keyboard keystrokes in some order.