rapid7 / metasploit-framework

Metasploit Framework
https://www.metasploit.com/
Other
34.31k stars 14.02k forks source link

[-] stdapi_fs_ls: Operation failed: 1 #17090

Closed jo-the closed 2 years ago

jo-the commented 2 years ago

Summary

Relevant information

jo-the commented 2 years ago

meterpreter > cd / meterpreter > ls [-] stdapi_fs_ls: Operation failed: 1

bcoles commented 2 years ago

You likely don't have permission to browse te / root directory. Presumably this is an Android host.

jo-the commented 2 years ago

so how can i have the permission

bcoles commented 2 years ago

so how can i have the permission

On Android, get root permissions or shell permissions.

jo-the commented 2 years ago

how????

jo-the commented 2 years ago

if the android device not rooted is their is anyway to get permission on root directory

bcoles commented 2 years ago

if the android device not rooted is their is anyway to get permission on root directory

If you're trying to gain access to the file system from within an app context which does not have permission to access the filesystem, you could try elevating to root if the device is vulnerable.

You can also gain a shell with shell privileges using ADB.

jo-the commented 2 years ago

not working

jo-the commented 2 years ago

meterpreter > shell Process 1 created. Channel 1 created. cd /data/app ls ls: .: Permission denied

bingo1199 commented 1 year ago

eğer android cihaz rootlu değilse, yine de root dizisinde izin almak için onlardır.

Dosya erişim sistemine izin vermeyen bir uygulama işletim sistemi dosya sistemi çalışıyorsanız, cihaz geneline kök'a yükseltmeyi dağıtıyor.

ADB'yi kullanarak avantajlara sahip bir kabuk da kazanabilirsiniz shell.