Metasploit-framework: Android Meterpreter "Shell" Command Giving error

Created on 20 Sep 2018  路  10Comments  路  Source: rapid7/metasploit-framework

Everything is working properly but whenever i run "shell" command i throws error

meterpreter > shell

[-] Error running command shell: NameError undefined local variable or method `comspec' for #<Rex::Post::Meterpreter::Ui::Console::CommandDispatcher::Stdapi::Sys:0x007ff270dcd920>
Did you mean?  Complex

Any idea? How to solve this?

Other commands are working perfectly.

android bug library msfconsole

All 10 comments

Ouch. My bug. I had renamed a variable in #10389.

It's fixed. Sorry for not noticing this sooner.

I updated everything through "msfupdate" still i am getting this error. Any idea how to solve this?

How did you install Metasploit? If you're using the package we provide, you should get it in a day. Otherwise you'll have to wait a week.

You can apply the patch in #10685 if you're ambitious. It was simply a matter of using the old variable path. Git users can update immediately.

@rohitcoder: I hope you got the fix!

@wvu-r7 Ohh, Sorry for late Update!
I fixed my problem thanks 馃憤

Great!

Tell me how did you fix it , please

By updating.

Thanks bro

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Rogdham picture Rogdham  路  47Comments

hacksoldier98 picture hacksoldier98  路  30Comments

busterb picture busterb  路  30Comments

ortholinux picture ortholinux  路  55Comments

akefallonitis picture akefallonitis  路  28Comments