Jump to content

Metasploit command error


m0nkeyDCode

Recommended Posts

Hello!

I've just installed the new release of Kali ( 2.0 version ) and after setting up the metasploit framework I've got some issues.

When I try to execute this command:

session.sys.process.execute( "cmd /c C:\\file.exe", nil, { 'Hidden' => true, 'Channelized' => true } )

I've got an error:

Post failed: Rex::Post::Meterpreter::RequestError stdapi_sys_process_execute: Operation failed: Windows error: The system cannot find the file specified.

After that I've tried to execute the same command directly on the machine and no it works perfectly.

Any solutions?

Thank you in advance!

Link to comment
Share on other sites

No it doesn't work... Just for info after install kali 2.0 I've started postgresql service, do msfdb init and then run msfconsole.

Is this wrong? If yes, what I've to do to install it properly?

Another things I've noticed that I've got some issues using for example railgun. ( example: session.railgun.user32.LockWorkStation() or any other command )

P.S. After this post I can't post anything for today because of limit post per day

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...