- Kali Linux Cookbook
- Willie L. Pritchett David De Smet
- 223字
- 2021-07-23 16:08:07
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:
- Update the local package index with the latest changes made in the repositories:
apt-get update
- Upgrade the existing packages:
apt-get upgrade
- Upgrade to the latest version (if available):
apt-get dist-upgrade
- Obtain an activation code for Nessus by registering at http://www.nessus.org/products/nessus/nessus-plugins/obtain-an-activation-code.
- 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. - Create a user account for the Nessus web interface:
/opt/nessus/sbin/nessus-adduser
- To start the Nessus server, we simply invoke the following command:
/etc/init.d/nessusd start
- Install Squid:
apt-get install squid3
- 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.
推薦閱讀
- 火格局的時(shí)空變異及其在電網(wǎng)防火中的應(yīng)用
- WOW!Illustrator CS6完全自學(xué)寶典
- Expert AWS Development
- SharePoint 2010開發(fā)最佳實(shí)踐
- 現(xiàn)代傳感技術(shù)
- Implementing Oracle API Platform Cloud Service
- 影視后期編輯與合成
- Prometheus監(jiān)控實(shí)戰(zhàn)
- 工業(yè)機(jī)器人運(yùn)動(dòng)仿真編程實(shí)踐:基于Android和OpenGL
- 電氣控制與PLC技術(shù)應(yīng)用
- 所羅門的密碼
- Photoshop CS5圖像處理入門、進(jìn)階與提高
- Dreamweaver+Photoshop+Flash+Fireworks網(wǎng)站建設(shè)與網(wǎng)頁(yè)設(shè)計(jì)完全實(shí)用
- 貫通Hibernate開發(fā)
- 漢字錄入技能訓(xùn)練