EvilZone

Hacking and Security => Hacking and Security => : zohraan March 28, 2012, 10:05:42 AM

: Is there any way to use Metasploit in windows CMD, not in bash ?
: zohraan March 28, 2012, 10:05:42 AM
Is there any way to use Metasploit in windows CMD, not in its default bash mode ?
: Re: Is there any way to use Metasploit in windows CMD, not in bash ?
: dataspy April 02, 2012, 06:48:03 AM
I've never used metasploit in windows but if you download it for windows I'm assuming you can run it from the command line.

http://www.metasploit.com/download/
: Re: Is there any way to use Metasploit in windows CMD, not in bash ?
: zohraan April 02, 2012, 06:50:28 AM
A default Linux based command line gets installed with its installation, known as "bash". Basically, I want to use it in windows command line. :)
: Re: Is there any way to use Metasploit in windows CMD, not in bash ?
: dataspy April 02, 2012, 06:57:11 AM
My guess is that bash wouldn't be installed for no reason so I think it would be unlikely to be able to use it on the windows command line :(
: Re: Is there any way to use Metasploit in windows CMD, not in bash ?
: zohraan April 02, 2012, 07:00:59 AM
Hmm yeah, that's right.
: Re: Is there any way to use Metasploit in windows CMD, not in bash ?
: Kulverstukas April 02, 2012, 11:04:41 AM
Metasploit doesn't use bash or batch. They have their own command line which is _similar_ to Bash and it's written in Ruby, so you cannot choose how to operate MSF and you have to use what is supplied.
: Re: Is there any way to use Metasploit in windows CMD, not in bash ?
: xor April 02, 2012, 03:40:25 PM
^^ What Kulver said. It's just an interface between the main progam (\metasploit\apps\pro\engine\mdfpro) which is a Ruby script and the ruby interpreter.
: Re: Is there any way to use Metasploit in windows CMD, not in bash ?
: zohraan April 02, 2012, 05:33:54 PM
Metasploit doesn't use bash or batch. They have their own command line which is _similar_ to Bash and it's written in Ruby, so you cannot choose how to operate MSF and you have to use what is supplied.

True ... All right. :)
: Re: Is there any way to use Metasploit in windows CMD, not in bash ?
: bluephantom April 06, 2012, 08:09:40 AM
Metasploit doesn't use bash or batch. They have their own command line which is _similar_ to Bash and it's written in Ruby, so you cannot choose how to operate MSF and you have to use what is supplied.

nice explanation  :o