{"id":85,"date":"2014-06-24T07:14:44","date_gmt":"2014-06-24T07:14:44","guid":{"rendered":"http:\/\/ixyzero.com\/blog\/?p=85"},"modified":"2014-06-24T07:14:44","modified_gmt":"2014-06-24T07:14:44","slug":"backtrack5r3%e4%b8%ad%e7%9a%84metasploit%e6%9b%b4%e6%96%b0","status":"publish","type":"post","link":"https:\/\/ixyzero.com\/blog\/archives\/85.html","title":{"rendered":"BackTrack5R3\u4e2d\u7684Metasploit\u66f4\u65b0"},"content":{"rendered":"<p style=\"color: #454545;\">\u5728BackTrack5R3\u4e2d\u5185\u7f6e\u7684MSF\u662f\u7528SVN\u8fdb\u884c\u66f4\u65b0\uff0c\u4f46\u662f\u65b0\u7248\u672c\u7684MSF\u5df2\u7ecf\u505c\u6b62\u901a\u8fc7SVN\u66f4\u65b0\uff0c\u6539\u7528Git\uff0c\u9700\u8981\u91cd\u65b0\u5b89\u88c5\u3002\u6211\u6309\u7167\u4e0b\u9762\u7684\u6b65\u9aa4\u66f4\u65b0\uff0c\u53ef\u5c06MSF\u66f4\u65b0\u81f3\u6700\u65b0\uff0c\u4e14\u5728\u8fd0\u884cmsfupdate\u65f6\uff0c\u5229\u7528\u7684\u662fGit\u66f4\u65b0\u7cfb\u7edf\u7684\u3002<\/p>\n<h6 style=\"color: #454545;\">\u6b65\u9aa4\u5982\u4e0b\uff1a<\/h6>\n<p style=\"color: #454545;\">1\u3001apt-get update<\/p>\n<p style=\"color: #454545;\">2\u3001apt-get install metasploit<\/p>\n<p style=\"color: #454545;\">3\u3001\u4fee\u6539\u6587\u4ef6\uff1a\/opt\/metasploit\/ruby\/lib\/ruby\/1.9.1\/i686-linux\/rbconfig.rb<br \/>\nchanged the line =&gt;<\/p>\n<p style=\"color: #454545;\">CONFIG[&#8220;LIBRUBYARG_STATIC&#8221;]=&#8221;-Wl,-R-Wl,$(libdir)-L$(libdir) -l$(RUBY_SO_NAME)-static&#8221;<\/p>\n<p style=\"color: #454545;\">by=&gt;<\/p>\n<p style=\"color: #454545;\">CONFIG[&#8220;LIBRUBYARG_STATIC&#8221;]=&#8221;-Wl,-R -Wl,$(libdir) -L$(libdir) &#8220;<\/p>\n<p style=\"color: #454545;\">\uff08\u5176\u5b9e\u5c31\u662f\u53bb\u6389-l$(RUBY_SO_NAME)-static\uff09<\/p>\n<p style=\"color: #454545;\"><strong>4<\/strong><strong>\u3001\u5207\u6362\u81f3\/opt\/metasploit\/msf3\u76ee\u5f55\u4e0b\u8fd0\u884c\/opt\/metasploit\/ruby\/bin\/bundle install<\/strong><\/p>\n<p style=\"color: #454545;\">5\u3001msfupdate<\/p>\n<p style=\"color: #454545;\">\n<p style=\"color: #454545;\"><span style=\"color: #ff0000;\"><strong>\u540e\u8bb0\uff1a<\/strong><\/span>\u8fd9\u662f\u4e4b\u524d\u4ece\u7f51\u4e0a\u770b\u5230\u7684\u81ea\u5df1\u9a8c\u8bc1\u8fc7\u7684\u65b9\u6cd5\uff0c\u4e0d\u8fc7\u51fa\u5904\u592a\u6742\uff08\u4f9d\u7a00\u8bb0\u5f97\u662f\u4ece\u8bf8\u845b\u5efa\u4f1f\u90a3\u91cc\u5f97\u5230\u7684\u94fe\u63a5\uff1f\uff09\u65e0\u6cd5\u5206\u8fa8\u4e5f\u5c31\u4e0d\u52a0\u539f\u59cb\u51fa\u5904\u4e86\uff0c\u6b64\u5904\u4ec5\u4f5c\u5907\u4efd\u65b9\u4fbf\u81ea\u5df1\u67e5\u9605\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728BackTrack5R3\u4e2d\u5185\u7f6e\u7684MSF\u662f\u7528SVN\u8fdb\u884c\u66f4\u65b0\uff0c\u4f46\u662f\u65b0\u7248\u672c\u7684MSF\u5df2\u7ecf\u505c\u6b62\u901a\u8fc7SVN\u66f4\u65b0\uff0c\u6539\u7528Gi [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,25,12],"tags":[68,70],"class_list":["post-85","post","type-post","status-publish","format-standard","hentry","category-linux","category-security","category-tools","tag-backtrack","tag-metasploit"],"views":2279,"_links":{"self":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts\/85","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/comments?post=85"}],"version-history":[{"count":0,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts\/85\/revisions"}],"wp:attachment":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/media?parent=85"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/categories?post=85"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/tags?post=85"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}