zoukankan      html  css  js  c++  java
  • kali 更新msf

    用leafpad打开,方便复制粘贴

    leafpad /etc/apt/sources.list

    然后复制下面的源覆盖原本的

    deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib

    deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib

    #阿里云kali更新源

    deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib

    deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib

    #163 DEBIAN源

    deb http://mirrors.163.com/debian wheezy main non-free contrib

    deb-src http://mirrors.163.com/debian wheezy main non-free contrib

    deb http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib

    deb-src http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib

    deb-src http://mirrors.163.com/debian-security wheezy/updates main non-free contrib

    更新

    apt-get update

    apt-get  install metasploit-framework

    更新系统

    #中科大
    deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
    deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
    
    #阿里云
    #deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
    #deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
    
    #清华大学
    #deb http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
    #deb-src https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
    
    #浙大
    #deb http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
    #deb-src http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
    
    #东软大学
    #deb http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib
    #deb-src http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib
    
    #官方源
    #deb http://http.kali.org/kali kali-rolling main non-free contrib
    #deb-src http://http.kali.org/kali kali-rolling main non-free contrib
    
    #重庆大学
    #deb http://http.kali.org/kali kali-rolling main non-free contrib
    #deb-src http://http.kali.org/kali kali-rolling main non-free contrib

    保存后之后回到命令行下执行命令:
    apt-get update && apt-get upgrade && apt-get dist-upgrade

    apt-get clean #删除以下载的包

    reboot #重新启动

    参考:http://blog.51cto.com/13276595/2061037

     

  • 相关阅读:
    目录:数据挖掘
    目录:工具的安装与激活
    目录:Django框架开发Web系统的功能实现过程
    Python3.5在jupyter中使用graphviz画决策树(包括graphviz-2.38.msi的安装)
    2020年全国高校计算机能力挑战赛Python程序设计初赛
    离群异常值与重复数据检测
    数据描述性统计度量方法
    数据挖掘的方法
    Nginx+uWSGI+Django部署方案的详细实现过程
    VMware的联网配置及虚拟机IP配置
  • 原文地址:https://www.cnblogs.com/zuoxiaolongzzz/p/8927173.html
Copyright © 2011-2022 走看看