Metasploit mailing list archives
Re: automating msfconsole
From: audio audience <audience099 () gmail com>
Date: Thu, 11 Aug 2011 01:38:00 +0300
Thank you very much. I was looking for this : )) 2011/8/11 <egypt () metasploit com>
Help output is your friend. msf auxiliary(http_login) > services -h ... -R,--rhosts Set RHOSTS from the results of the search Hope this helped, egypt On Wed, Aug 10, 2011 at 4:20 PM, audio audience <audience099 () gmail com> wrote:Hello, I want to automating msfconle for pentest.I have a quession. I did the following as the first; I'm created and connected the database for metasploit; db_connect pentester:12345@127.0.0.1/pentestdb and scan nmap to target ip address ; db_nmap -sS 192.168.1.5 I checked status this commands "hosts" and "services"; msf > hosts Hosts ===== address mac name os_name os_flavor os_sp purpose info comments ------- --- ---- ------- --------- ----- ------- ---- -------- 192.168.1.5 48:5D:60:81:9F:7B Linux 2.6.X device msf > services Services ======== host port proto name state info ---- ---- ----- ---- ----- ---- 192.168.1.5 22 tcp ssh open 192.168.1.5 53 tcp domain open 192.168.1.5 80 tcp http open I want to using automating auxiliary to all host.For example; msf > use auxiliary/scanner/ssh/ssh_version msf auxiliary(ssh_version) > show options Module options (auxiliary/scanner/ssh/ssh_version): Name Current Setting Required Description ---- --------------- -------- ----------- RHOSTS yes The target address range or CIDR identifier RPORT 22 yes The target port THREADS 1 yes The number of concurrent threads TIMEOUT 30 yes Timeout for the SSH probe How i can set "RHOSTS" values is automating ? Thanks for supports. _______________________________________________ https://mail.metasploit.com/mailman/listinfo/framework
_______________________________________________ https://mail.metasploit.com/mailman/listinfo/framework
Current thread:
- automating msfconsole audio audience (Aug 10)
- Re: automating msfconsole egypt (Aug 10)
- Re: automating msfconsole audio audience (Aug 10)
- Re: automating msfconsole audio audience (Aug 10)
- Re: automating msfconsole egypt (Aug 10)
- Re: automating msfconsole Jonathan Cran (Aug 10)
- Re: automating msfconsole Jonathan Cran (Aug 10)
- Re: automating msfconsole audio audience (Aug 10)
- Re: automating msfconsole egypt (Aug 10)