官术网_书友最值得收藏!

Applying updates and configuring extra security tools

In this recipe, we will cover the process of updating Kali and configuring some extra tools which will be useful in later chapters and recipes. As Kali packages are constantly updated between releases, you will soon find that a newer set of tools are available than what were originally downloaded on your DVD ROM. We will start by updating our installation, obtaining an activation code for Nessus, and conclude by installing Squid.

How to do it...

Let's begin the process of applying updates and configuring extra security tools:

  1. Update the local package index with the latest changes made in the repositories:
    apt-get update
    
  2. Upgrade the existing packages:
    apt-get upgrade
    
  3. Upgrade to the latest version (if available):
    apt-get dist-upgrade
    
  4. Obtain an activation code for Nessus by registering at http://www.nessus.org/products/nessus/nessus-plugins/obtain-an-activation-code.
  5. Activate Nessus by executing the following command:
    /opt/nessus/bin/nessus-fetch --register A60F-XXXX-XXXX-XXXX-0006
    

    Where A60F-XXXX-XXXX-XXXX-0006 should be your activation code.

  6. Create a user account for the Nessus web interface:
    /opt/nessus/sbin/nessus-adduser
    
  7. To start the Nessus server, we simply invoke the following command:
    /etc/init.d/nessusd start
    
  8. Install Squid:
    apt-get install squid3
    
  9. Prevent Squid from starting up automatically at boot time:
    update-rc.d -f squid3 remove
    
Note

To find a particular package in the repository, we can use the following command after apt-get update:

apt-cache search <keyword>

Where <keyword> could be a package name or a regular expression.

主站蜘蛛池模板: 嵩明县| 武夷山市| 昌乐县| 兴国县| 伊宁市| 天柱县| 陇川县| 南京市| 浦东新区| 西峡县| 大连市| 黄山市| 万州区| 东源县| 新宾| 慈溪市| 浮梁县| 乌拉特后旗| 安溪县| 铁岭市| 辛集市| 德令哈市| 汝阳县| 平乡县| 闽侯县| 平原县| 莲花县| 呼和浩特市| 潍坊市| 桐庐县| 华亭县| 惠水县| 江西省| 黎平县| 罗江县| 阳信县| 运城市| 汝阳县| 义乌市| 临夏市| 潼南县|