我正在尝试在OS X Yosemite上安装Metasploit框架,同时运行bundle install,安装程序在尝试安装metasploit-framework -v '4.10.1.pre.dev‘时卡住了。
当我自己运行gem install metasploit-framework -v '4.10.1.pre.dev'时,我得到了这个错误:
ERROR: Could not find a valid gem 'metasploit-framework' (= 4.10.1.pre.dev) in any repository
ERROR:
我想启动metasploit服务来启动armitage。但是当我在控制台中输入命令时:
sudo service metasploit start
上面写着:
Failed to start metasploit.service: Unit metasploit.service not found.
我安装了metasploit。它连接到postgresql,所以问题是如何启动或安装此服务?
更新时出现GPG错误- Metasploit # curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && chmod 755 msfinstall && ./msfinstall
% Total % Received % Xferd Average Speed Time Time
我正在遵循这个指南。
我是这样做的:
cd /opt
git clone https://github.com/rapid7/metasploit-framework.git
cd metasploit-framework
当我在做:
git clone https://github.com/rapid7/metasploit-framework.git
我得到了以下错误:
fatal: could not create work tree dir 'metasploit-framework'.: Permission denied
我在使用termux安装metasploit时,它显示:
~ $ ls <br>
metasploit-framework storage wiki-termux<br>
~ $ cd metasploit-framework<br>
~/metasploit-framework $ ruby msfconsole<br>
Could not find Ascii85-1.1.0 in any of the sources<br>
Run bundle install to install missing gems.<br&
在PENTESTBOX中,我希望通过运行命令msf控制台来运行METASPLOIT框架,并给出以下错误
在Gemfile: Rubyx86mingw32中,邦德勒找不到兼容的宝石"ruby“版本。
metasploit-framework x86-mingw32 was resolved to 5.0.83, which depends on
ruby (>= 2.5) x86-mingw32
无法在任何相关来源:本地红宝石安装中找到宝石'ruby (>= 2.5)',这是gem‘metasploit框架’所要求的。
我试图在终端中运行chmod +x /path/to/metasploit-latest-linux-x64-installer.run,将安装程序标记为可执行文件,但是我一直收到一个错误:
cannot access ‘/path/to/metasploit-latest-linux-x64-installer.run’: No such file or directory
我确信这个文件存在。我检查了文件的下载,它是64位,就像我安装的Ubuntu一样。我对另一个程序也有困难。是否有特殊的软件需要将安装程序更改为可执行文件?当我在下载中双击metasploit时,它会声明我需要成为超级用户
我正在写一个脚本来自动化metasploit现在我的脚本工作得很好,直到我需要在终端上运行命令,但当我尝试运行我必须在metasploit控制台中执行的命令时,脚本将停止,直到我手动退出控制台,然后它将从下一行继续运行。
当您运行metasploit时,它会在终端中打开一个控制台(msfconsole),您可以在其中运行命令。
如何在脚本中添加特定命令以在控制台内运行??
以下是我要运行的命令:
msfconsole (this command starts the metasploit console, this command works fine in the script)
searc
这是我的第一篇文章,所以我可能会把格式弄错。无论如何,在网上搜索了一个解决方案(我找不到)后,我求助于在这里询问。
在几天前启动我的msfconsole时,我开始收到所有这些以前没有显示的警告/错误。
$ sudo msfconsole
[!] The following modules could not be loaded!..\
[!] /usr/share/metasploit-framework/modules/auxiliary/scanner/msmail/host_id.go
[!] /usr/s
所以我在虚拟机上运行回溯轨道5。我在尝试更新metasploit。我从github下载了metasploit目录,并按照web告诉我的那样删除了原来的svn目录()。当我运行msfupdate时,会得到这个错误:
root@bt:~/metasploit# ./msfupdate
[*]
[*] Attempting to update the Metasploit Framework...
[*]
[*] Checking for updates via git
[*] Note: Updating from bleeding edge
HEAD is now at a02e0ee Lan