Metasploit / meterpreter stdapi [SOLVED]

Started by lockmaster, September 04, 2012, 08:11:48 PM

Previous topic - Next topic

lockmaster

once i get a meterpreter session going I hit the ? to see all the options and it seems the following stdapi commands are missing system, user interface and webcam any suggestions would be very helpful I have tried the load command from the meterpreter prompt but none of the above are listed. ???

ZEROF

Hi,

I want to help you but i need more information about your problem. What you are trying to do, and when help command stop to work for you?

Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*

lockmaster

Thanks for your reply what I want to do is get a list of processes running on the target but the system interface commands are not present as well the others I mentioned in my previous post in my BackBox msf here is what it should output when hitting the ? from a meterpreter prompt.

Stdapi: File system Commands
============================

    Command       Description
    -------       -----------
    cat           Read the contents of a file to the screen
    cd            Change directory
    del           Delete the specified file
    download      Download a file or directory
    edit          Edit a file
    getlwd        Print local working directory
    getwd         Print working directory
    lcd           Change local working directory
    lpwd          Print local working directory
    ls            List files
    mkdir         Make directory
    pwd           Print working directory
    rm            Delete the specified file
    rmdir         Remove directory
    search        Search for files
    upload        Upload a file or directory


Stdapi: Networking Commands
===========================

    Command       Description
    -------       -----------
    ipconfig      Display interfaces
    portfwd       Forward a local port to a remote service
    route         View and modify the routing table


Stdapi: System Commands Missing in Back Box
=======================

    Command       Description
    -------       -----------
    clearev       Clear the event log
    drop_token    Relinquishes any active impersonation token.
    execute       Execute a command
    getpid        Get the current process identifier
    getprivs      Attempt to enable all privileges available to the current process
    getuid        Get the user that the server is running as
    kill          Terminate a process
    ps            List running processes
    reboot        Reboots the remote computer
    reg           Modify and interact with the remote registry
    rev2self      Calls RevertToSelf() on the remote machine
    shell         Drop into a system command shell
    shutdown      Shuts down the remote computer
    steal_token   Attempts to steal an impersonation token from the target process
    sysinfo       Gets information about the remote system, such as OS


Stdapi: User interface Commands Missing in Back Box
===============================

    Command        Description
    -------        -----------
    enumdesktops   List all accessible desktops and window stations
    getdesktop     Get the current meterpreter desktop
    idletime       Returns the number of seconds the remote user has been idle
    keyscan_dump   Dump the keystroke buffer
    keyscan_start  Start capturing keystrokes
    keyscan_stop   Stop capturing keystrokes
    screenshot     Grab a screenshot of the interactive desktop
    setdesktop     Change the meterpreters current desktop
    uictl          Control some of the user interface components


Stdapi: Webcam Commands Missing in Back Box
=======================

    Command       Description
    -------       -----------
    record_mic    Record audio from the default microphone for X seconds
    webcam_list   List webcams
    webcam_snap   Take a snapshot from the specified webcam

Any ideas on what my problem is? Thanks 

ZEROF

Hi,

What is payload you try to use ? Did you try to update to last version ? And what you need to know that after MSF updates, some options are removed. If you watch videos or you read books, this can be problem, because they are not always up to date. That is what i think, but i will check more when i try payload you try to use.

Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*

lockmaster

Quote from: ZEROF on September 05, 2012, 01:41:17 PM
Hi,

What is payload you try to use ? Did you try to update to last version ? And what you need to know that after MSF updates, some options are removed. If you watch videos or you read books, this can be problem, because they are not always up to date. That is what i think, but i will check more when i try payload you try to use.

Thanks for your rapid response I am using windows/metsvc_bind_tcp as my payload my msf is updated I have just updated my other laptop that has Back Track running I will see if the problem occurs on that box, no longer watch videos or read books just like to get info from forums  :)

ZEROF

#5
Hi,

As i can see you need to use show options, and ? is (help) only for msf console option. Then you can use info command, like info payload/windows/metsvc_bind_tcp. That is what you can do with Metasploit 4. Hope this help.

And read this : http://seclists.org/metasploit/2007/q2/296

Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*

lockmaster

Quote from: ZEROF on September 05, 2012, 03:29:20 PM
Hi,

As i can see you need to use show options, and ? is (help) only for msf console option. Then you can use info command, like info payload/windows/metsvc_bind_tcp. That is what you can do with Metasploit 4. Hope this help.

And read this : http://seclists.org/metasploit/2007/q2/296

Thanks for taking the time in helping me through this, the link is really helpful and gives an explanation in more ways than one.  :D

ZEROF

That is great news, i will mark topic as solved.

Cheers !

Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*

lockmaster

Quote from: ZEROF on September 05, 2012, 07:19:38 PM
That is great news, i will mark topic as solved.

Cheers !

Yes it is, and once again thank you I appreciate the time and energy you people put in, I really do. Thank you  :D