Metasploit mailing list archives
Re: Running metasploit through command shell
From: meta sploit <metasploit1 () gmail com>
Date: Sat, 25 Dec 2010 14:39:45 +0530
Hi all, sorry for the late reply. I'll once again post what I exactly want. I am having two machines. One with ubuntu 10.04 and another with windows xp sp2. What I want to do is : 1. Connect remotely to xp machine from ubuntu machine. 2. Run msfcli of metasploit on ubuntu machine to exploit target xp machine. 3. See if given exploit is working on remote xp machine. 4. Generate report of it on ubuntu machine. So I am trying to do this whole process automated but I am unable to find the way to do the same. Problems I am getting are : 1. Unable to get cmd prompt of windows machine on ubuntu machine. 2. Hence unable to test exploits on remote target machine. Please help. On Mon, Dec 6, 2010 at 8:27 PM, Chao Mu <chao.mu () minorcrash com> wrote:
Hi, No it is not testing. I am trying to write script/ bat file so that Icanlaunch metasploit on remote machine and then to run any specific exploit with predefined payload. How to give input to metasploit using command prompt about running a prticular exploit with desired payload?Which computer are you expecting to perform the exploitation after it has been signaled to do so? Are you looking to pivot through the controlling machine, or simply remotely control the computer running metasploit? If you are simply seeking the latter, you may be interested in http://www.metasploit.com/redmine/projects/framework/wiki/XMLRPC On Mon, Dec 6, 2010 at 1:50 AM, meta sploit <metasploit1 () gmail com> wrote:Hi, No it is not testing. I am trying to write script/ bat file so that Icanlaunch metasploit on remote machine and then to run any specific exploit with predefined payload. How to give input to metasploit using command prompt about running a prticular exploit with desired payload? Thanks !! On Mon, Dec 6, 2010 at 11:37 AM, M P Sairam <sai438 () gmail com> wrote:If it is for testing, you can use STAF (Software Test Automation Framework). I used STAF for running Metasploit on different PC's usingSTAFfor automation purposes. Regards, sairam On Mon, Dec 6, 2010 at 11:30 AM, meta sploit <metasploit1 () gmail com> wrote:Hi, Can you please tell me how to run metasploit on remote windows xp machine using command prompt. If there are machines say M1 and M2, Iwant torun metasploit on M2 using cmd prompt of M1. So please tell me if thereisany software or tutorial for doing the same. Thanks !! Regards, Adarsh. _______________________________________________ https://mail.metasploit.com/mailman/listinfo/framework_______________________________________________ https://mail.metasploit.com/mailman/listinfo/framework
_______________________________________________ https://mail.metasploit.com/mailman/listinfo/framework
Current thread:
- Running metasploit through command shell meta sploit (Dec 05)
- Message not available
- Message not available
- Running metasploit through command shell meta sploit (Dec 05)
- Re: Running metasploit through command shell Chao Mu (Dec 06)
- Re: Running metasploit through command shell meta sploit (Dec 25)
- Message not available
- Message not available