BT5中metasploit升级
来源:互联网 发布:单片机定时器实验 编辑:程序博客网 时间:2024/05/16 19:30
1、apt-get update
2、apt-get install metasploit
3、修改文件:/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) ”
(就是去掉-l$(RUBY_SO_NAME)-static)
4、切换至/opt/metasploit/msf3然后运行/opt/metasploit/ruby/bin/bundle install
5、msfupdate
又出现错误:
/opt/metasploit/apps/pro/engine/lib/pro/client.rb:27:in `initialize’: No such file or directory – /opt/metasploit/apps/pro/engine/tmp/servicekey.txt (Errno::ENOENT)
from /opt/metasploit/apps/pro/engine/lib/pro/client.rb:27:in `open’
from /opt/metasploit/apps/pro/engine/lib/pro/client.rb:27:in `initialize’
from /opt/metasploit/apps/pro/engine/update.rb:42:in `new’
from /opt/metasploit/apps/pro/engine/update.rb:42:in `<main>’
需要激活Metasploit
解决方法《Using BackTrack5 r3 with Metasploit Community or Metasploit Pro》
按这篇文章中的方法激活之后(邮箱收到激活码之后,注意0和O的区分),使用msfupdate更新,或者用上述文章中最后的方法
Update: Kali Linux now superseded BackTrack as a platform. We strongly recommend using Kali Linux over BackTrack if you are going to run Metasploit. More info here.
As of version 5 R3, BackTrack comes pre-installed with Metasploit 4.4, so it's now easier to use Metasploit Community Edition or Metasploit Pro on BackTrack. Here is how it's done:
- After BackTrack boots, enter startx to get into the UI.
- Install BackTrack in a virtual machine using the Install BackTrack icon in the top left corner. This is recommended so that Metasploit remembers its product key; otherwise, you would have to register Metasploit each time.
- Log in with user root, password toor. Enter startx.
- In the main menu, open BackTrack / Exploitation Tools / Network Exploitation Tools / Metasploit Framework and select start msfpro, which starts the service for the commercial Metasploit UI.
- The Metasploit service is started when you see the following screen:
- Open the Firefox browser from the Internet menu.
- Enter the URL https://localhost:3790. Note that the connection must be https.
- You'll see "This Connection is Untrusted". If the server cannot be reached, the Metasploit server may not be started. Please wait a few seconds and try again.
- Since the Metasploit UI uses a user-generated, unsigned SSL certificate, Firefox complains that the connection is untrusted. Click on I understand the risks, Add Exception..., and Confirm Security Exception.
- Metasploit is now initializing and creating the exploit database. Depending on your hardware, this may take up to 10 minutes. You may also see this screen when you launch Metasploit the second time, but the startup time should only be a couple of minutes at the most.
- The NoScript Addon is installed by default on BackTrack and makes registration and use of Metasploit very difficult. The easiest option is to allow JavaScript globally. Click on the NoScript icon to the left of the URL field and select Allow Scripts Globally (dangerous). Confirm the popup dialogue.
- You should also turn off the Application Boundary Enforcer since it causes some issues with the registration. Open the same NoScript menu, choose NoScript Options, choose Advanced tab, choose ABE sub-tab, and uncheck Enable ABE (Application Boundary Enforcer). Confirm the dialog with OK.
- Enter a username and password, and click Create Account. You should now see the following screen:
- Click on Get Product Key.
- Choose either Metasploit Pro Trial if you want to get a test of the fully featured product, or Metasploit Community if you're working for an SMB or are a student and need a limited but free edition.
- Complete the registration screen.
- You're now back at this screen:
- Within 5 minutes of completing the form, you'll receive an email with a product key. Copy it to the text field under number 2, then clickActivate License. You should now see this success message:
- Now that you've registered Metasploit, you have access to the update packages, which give you access to new features, exploits, and bug fixes. To update Metasploit, follow these steps:
- In the Administration menu, choose Software Updates.
- Click Check for Updates.
- Click Install.
- Repeat the process until the software update reports that there are no more updates available.
Congratulations, you're good to go!
- BT5中metasploit升级
- BT5下的metasploit更新
- BT5 R2 下 Metasploit使用postgersql数据库
- 解决kali linux中metasploit无法升级的问题
- PentesetBox 升级Metasploit
- BT5
- Metasploit中配置beef
- metasploit将命令行shell升级为meterpreter
- BT5 使用过程中命令总结
- BT5中配置简单测试蜜罐
- BT5中Nessus的安装及使用
- Metasploit
- Metasploit
- Metasploit
- 在 freeBSD 中使用 metasploit
- 在Metasploit中使用PostgreSQL
- Metasploit 中连接postgres 数据库
- 在Metasploit中连接数据库
- ADB 启动应用或服务
- AVAGO(安华高)样片申请与经验
- #2014 CSDN博文大赛#
- 学业最终课程设
- 学习UI相关网站
- BT5中metasploit升级
- 各变量在内存中存储情况分析,格式输出问题
- 怎样实现分享网站文章到微信朋友圈时指定缩略图
- Android编译模块
- java环境变量设置
- C++课程设计
- c语言getchar()接收字符函数如何结束
- mapnik在ubuntu14.04上的安装
- Android RenderScript介绍