gpt4 book ai didi

linux - 无法更新 metasploit 框架

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:24:13 24 4
gpt4 key购买 nike

我是 Backtrack 5 r3 的新手。当我尝试执行命令 msfupdate 时,出现以下错误。

An error occured while installing pg (0.15.0), and Bundler cannot continue. Make sure that gem install pg -v '0.15.0' succeeds before bundling.

最佳答案

我修改了这个文件:/opt/metasploit/ruby/lib/ruby/1.9.1/i686-linux/rbconfig.rb

更改了行 => CONFIG["LIBRUBYARG_STATIC"] = "-Wl,-R -Wl,$(libdir) -L$(libdir) -l$(RUBY_SO_NAME)-static"通过 => CONFIG["LIBRUBYARG_STATIC"] = "-Wl,-R -Wl,$(libdir) -L$(libdir) "

转到/opt/metasploit/msf3 并运行/opt/metasploit/ruby/bin/bundle install

信用 -- http://top-hat-sec.com/forum/index.php?topic=2668.0 -- 鲍比

关于linux - 无法更新 metasploit 框架,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15853741/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com