You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[!] Error: rpc error: code = Unknown desc = Invalid format: shellcode - Please make sure Metasploit framework >= v6.2 is installed and msfvenom/msfconsole are in your PATH
#1606
Closed
teamdArk5 opened this issue
Mar 19, 2024
· 3 comments
when i exec "generate stager --lhost 192.168.5.131 --lport 1234 --protocol http --format shellcode --save /tmp"
error
[!] Error: rpc error: code = Unknown desc = Invalid format: shellcode - Please make sure Metasploit framework >= v6.2 is installed and msfvenom/msfconsole are in your PATH
i can run msf with "msfconsole"
The text was updated successfully, but these errors were encountered:
Could just be a bug in our code, note that generate stager is just a helper ontop of msfvenom, you can just run msfvenom directly to get the same stager shellcode.
It's a long standing bug, IIRC the cmd.Run call hangs and the context times out, and it's interpreted as a runtime error. Or at least that's how I remember the issue. As @moloch-- says, you can use msfvenom instead to generate payloads, that's basically what sliver does anyway.
[!] Error: rpc error: code = Unknown desc = Invalid format: shellcode - Please make sure Metasploit framework >= v6.2 is installed and msfvenom/msfconsole are in your PATH
i can run msf with "msfconsole"
The text was updated successfully, but these errors were encountered: