Closed GoogleCodeExporter closed 8 years ago
[deleted comment]
It looks like you haven't installed it correctly. Did you use the included
install script as outlined in the INSTALL file?
If you have multiple versions of metasploit installed, you'll need to install
it on the one that you're attempting to use.
Original comment by zeroStei...@gmail.com
on 28 Jan 2013 at 2:19
yes, but i used the generic example:
Generic Example:
sh install.sh /opt/metasploit3/msf3
because on my box that dir (/opt/metasploit3/msf3) exists and
/pentest/exploits/framework3 doesn't exist, only /pentest/exploits/framework2
does.
Original comment by miche...@gmail.com
on 28 Jan 2013 at 2:26
I'm assuming the install script completed successfully? It should have printed
"Done." at the end.
Also have you restarted Metasploit completely since you installed MSFMap?
Original comment by zeroStei...@gmail.com
on 28 Jan 2013 at 2:38
yes it printed "Done" and i have restarted it.
Original comment by miche...@gmail.com
on 28 Jan 2013 at 3:03
Can you verify that a directory
"/opt/metasploit/msf3/lib/rex/post/meterpreter/extensions/msfmap" exists and
that within it are files config.rb, constants.rb msfmap.rb and tlv.rb?
There also needs to be another "msfmab.rb" file in
/opt/metasploit/msf3/lib/rex/post/meterpreter/ui/console/command_dispatcher/
Also can you verify your Msf root by using irb in the msfconsole like:
msf > irb
[*] Starting IRB shell...
>> Msf::Config.install_root
=> "/opt/metasploit/msf3"
>>
If that doesn't return "/opt/metasploit/msf3" then you'll need to rerun the
msfmap installer with the value that it returns as the install path.
Original comment by zeroStei...@gmail.com
on 28 Jan 2013 at 3:14
all files are there:
root@RO-CZC8242YKZ:~/Downloads/MSFMap-v0.1.1# ls
/opt/metasploit/msf3/lib/rex/post/meterpreter/extensions/msfmap
config.rb constants.rb msfmap.rb tlv.rb
root@RO-CZC8242YKZ:~/Downloads/MSFMap-v0.1.1# ls
/opt/metasploit/msf3/lib/rex/post/meterpreter/ui/console/command_dispatcher/
core.rb espia.rb incognito.rb msfmap.rb networkpug.rb priv priv.rb
sniffer.rb stdapi stdapi.rb
root@RO-CZC8242YKZ:~/Downloads/MSFMap-v0.1.1#
however when i run irb from msf console all i get is this:
=[ metasploit v4.6.0-dev [core:4.6 api:1.0]
+ -- --=[ 1036 exploits - 634 auxiliary - 176 post
+ -- --=[ 265 payloads - 28 encoders - 8 nops
msf > irb
[*] Starting IRB shell...
Original comment by miche...@gmail.com
on 28 Jan 2013 at 3:33
[deleted comment]
Running "irb" should return a prompt of >> that you need to put the command of
puts Msf::Config.install_root
into. That will print the directory that you need to pass to the install
script so it searches the correct locations. Have you installed another
version of Metasploit from Git or the installer?
Original comment by zeroStei...@gmail.com
on 28 Jan 2013 at 3:43
>> puts Msf::Config.install_root
/opt/metasploit/apps/pro/msf3
indeed there was another dir. I've reinstalled it and now it works.
Thanks.
Original comment by miche...@gmail.com
on 28 Jan 2013 at 4:03
Original comment by zeroStei...@gmail.com
on 28 Jan 2013 at 4:31
Original issue reported on code.google.com by
miche...@gmail.com
on 28 Jan 2013 at 2:03