Home page logo
/

metasploit logo Metasploit mailing list archives

Meterpreter from a command line
From: chaines at gmail.com (Chuck Haines)
Date: Tue, 27 Feb 2007 13:16:21 -0500

Hello all,
   I'm trying to write an example of using the meterpreter from the
command line.  What I want to do is have an exe that start meterpreter
and connects back to another machine.  I have succesfully written the
code that starts the meterpreter and connects back and it communicates
just fine.  However when I try and load the stdapi, it tells me it
loads is succesfully, but doesn't actually give me the option of using
it.  Any help with this would be much appreciated.  I'm using the
metcli.exe that comes with the metepreter to listen for a connection
and custom code to connect back to the metcli.exe and perform the init
on the metsrv.dll.
   In the previous release (2.7), I had to modify the metcli so it
knew about the stdapi (well back then fs, net, etc), but it seems that
the client portion of the stdapi no longer exists and there is only a
server portion.  Is that because it was never written or am I missing
something?  If someone could give a way to use msfconsole and have it
spawn a meterpreter reverse_tcp without having to do an expoit, that
would be the best.

Thanks,
Chuck

-- 
Chuck Haines
chaines at gmail.com
-----------------------------------------------------------
Tau Kappa Epsilon Fraternity
Fraternity For Life Alumni
http://www.tke.org
irc://irc.deepspace.org/TKE
-----------------------------------------------------------
Deepspace IRC NetAdmin
Providing Web Services for the Disabled
http://www.deepspace.org
irc://irc.deepspace.org/Lobby
-----------------------------------------------------------



  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]