Author Topic: Is there any way to use Metasploit in windows CMD, not in bash ?  (Read 2598 times)

0 Members and 1 Guest are viewing this topic.

zohraan

  • Guest
Is there any way to use Metasploit in windows CMD, not in its default bash mode ?
« Last Edit: March 28, 2012, 10:06:25 am by zohraan »

Offline dataspy

  • Peasant
  • *
  • Posts: 99
  • Cookies: 16
    • View Profile
Re: Is there any way to use Metasploit in windows CMD, not in bash ?
« Reply #1 on: 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/
The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn, like fabulous yellow roman candles exploding like spiders across the stars.
-Kerouac

zohraan

  • Guest
Re: Is there any way to use Metasploit in windows CMD, not in bash ?
« Reply #2 on: 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. :)

Offline dataspy

  • Peasant
  • *
  • Posts: 99
  • Cookies: 16
    • View Profile
Re: Is there any way to use Metasploit in windows CMD, not in bash ?
« Reply #3 on: 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 :(
The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn, like fabulous yellow roman candles exploding like spiders across the stars.
-Kerouac

zohraan

  • Guest
Re: Is there any way to use Metasploit in windows CMD, not in bash ?
« Reply #4 on: April 02, 2012, 07:00:59 am »
Hmm yeah, that's right.

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: Is there any way to use Metasploit in windows CMD, not in bash ?
« Reply #5 on: 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.

xor

  • Guest
Re: Is there any way to use Metasploit in windows CMD, not in bash ?
« Reply #6 on: 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.

zohraan

  • Guest
Re: Is there any way to use Metasploit in windows CMD, not in bash ?
« Reply #7 on: 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. :)

Offline bluephantom

  • Serf
  • *
  • Posts: 23
  • Cookies: 0
  • Malanghackerlink
    • View Profile
    • My Profile
Re: Is there any way to use Metasploit in windows CMD, not in bash ?
« Reply #8 on: 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
“Maybe there are no right moments, right guys, right answers, maybe sometimes you just to say what’s in your heart”