This Script Will Automate Opening The CMD in Windows And Writing A (Web_Delivery) Payload You Need:-
A (DigiSpark atTiny85 USB Module ) / Metasploit / Aurdino App
Steps:-
1-Open Metasploit and generate a ( PowerShell Web_Delivery) Payload
2-Replace the ("***") in the script with your payload
3-With Aurdino App Compile The Script on the DigiSpark atTiny85
4-Start A MetaSploit Listener
4-Plug The USB in The Target Device And You Are In !!!!
Note: You Can Also Change The Script To .bat exteinsion if you don't have an Aurdino or A Rubber Ducky