当我尝试通过登录我的 Microsoft 帐户连接到 TFS 中的项目时,出现如下脚本错误,
它一直工作到昨天,但我试图通过从 Rapid7 安装 MetaSploit 并在一段时间后卸载它来进行渗透测试。
尝试从 VS2013 运行“修复”,但没有用:( 谁能建议我如何摆脱这种情况?
提前致谢。
registry tfs penetration-testing metasploit visual-studio-2013
我需要进入 Metasploit 漏洞利用目录才能下载某人编写的新漏洞利用程序,因此我需要找到metasploit-framework/modules/exploits目录。
我试图查看该文件夹是否至少存在,所以我输入:
ls /usr/share/metasploit-framework/modules/
Run Code Online (Sandbox Code Playgroud)
但我收到No such directory错误,因为/usr/share中没有metasploit-framework目录。
你可能认为我没有正确安装msf,但我使用了从github msf存储库安装的官方方法。我也认为这是安装错误,直到我尝试查看/opt/metasploit-framework文件夹,并且似乎所有文件都正常。这绝对是我的错,因为我在 Ubuntu 和 Debian 服务器上得到了相同的结果,但我不明白我做错了什么。
ls /opt/metasploit-framework
Run Code Online (Sandbox Code Playgroud)
我正在Centos 5.9机器上安装metasploit的中间过程。在执行捆绑安装时,我安装pcaprub时遇到错误,我尝试以gem install pcaprub单独运行并记录在这里。已安装libpcap-devel-0.9.4-15.el5.i386.rpm。我潜伏了大量的stackoverflow,可悲的是,这是我的第一篇文章。对于发布的日志,我肯定会遗漏一些问题,因此请不要犹豫。
gem install pcaprub
Building native extensions. This could take a while...
ERROR: Error installing pcaprub:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb
[*] Running checks for pcaprub code...
platform is i686-linux
checking for pcap_open_live() in -lpcap... yes
checking for pcap_setnonblock() in -lpcap... yes
creating Makefile
make
compiling pcaprub.c
pcaprub.c: In function 'Init_pcaprub':
pcaprub.c:954: error: 'PCAP_ERROR' undeclared (first use in this function)
pcaprub.c:954: error: (Each undeclared identifier is reported only once …Run Code Online (Sandbox Code Playgroud) Metasploit工作正常,直到今天早上我更新它msfupdate,然后所有人都去了.
打字msfconsole现在给我这个错误:
Could not find nokogiri-1.6.8 in any of the sources
Run bundle install to install missing gems.
Run Code Online (Sandbox Code Playgroud)
我去打字了bundle install.直到发生这种情况一切顺利:
Installing nokogiri 1.6.8 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/usr/bin/ruby2.2 -r ./siteconf20160831-24032-1wim46x.rb extconf.rb --use-system-libraries
Using pkg-config version 1.1.7
checking if the C compiler accepts ... yes
Building nokogiri using system libraries.
checking for libxml-2.0... no
checking for libxslt... no
checking for libexslt... no
ERROR: cannot discover where libxml2 is …Run Code Online (Sandbox Code Playgroud)