AnswerBun.com

Stdapi commands not showing in meterpreter session

Information Security Asked by kreysix on January 28, 2021

I created a android payload with public IP (android/meterpreter/reverse_https).
The stdapi commands(ls,cd,webcam_snap etc) are showing when the victim is in the same network.

But when I try to connect over the Internet( i.e. victim is in a different network) using a public IP, the stdapi commands do not show in the meterpreter session.

Further, the meterpreter session is quite unstable, and displays errors after sometime:

meterpreter session is not valid and will be closed

One Answer

With metepreter sessions, you need to make sure you migrate to a running application. So for example, when obtaining a session for Windows you would migrate to explorer.exe

If you want to migrate, list the running applications with ps and then it will give you the list. After that, you type migrate [application PID] without the brackets. This should stop your meterpreter session is not valid and will be closed situation.

The stdapi will only be given and only load if the module is handing you administrative rights.

Answered by iZodiac on January 28, 2021

Add your own answers!

Related Questions

Nginx module security

1  Asked on November 21, 2021 by member2

 

Third party cookies – does secure, httponly matter?

1  Asked on November 21, 2021 by pang-ser-lark

 

Can input value escape a JSON object?

0  Asked on November 16, 2021

     

What is the Akamai Name Server I see for some big companies?

3  Asked on November 11, 2021 by hanan-n

     

What are ssh-keygen best practices?

4  Asked on November 11, 2021

     

How does openvpn work for only certain servers?

1  Asked on November 11, 2021 by relot

       

Ask a Question

Get help from others!

© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP