如何更新backtrack

如题所述

Backtrack的发布版包含了一个Ubuntu Linux操作系统和众多hacking应用软件。为了能够修复旧版本软件中存在的缺陷以及使用新版本软件中的新功能,需要对backtrack进行更新。
我建议在更新软件和系统内核时。只从backtrack官方提供的软件资料库中获取,因为官方库中的软件都是在backtrack系统中测试过的。

0×01 更新应用程序
在成功安装和配置backtrack系统后,第一件要做的事情就是更新backtrack系统自身。backtrack5是基于ubuntu系统 因此可以使用ubuntu/debian系统的命令

apt-get

来进行更新。
apt-get命令会从/etc/apt/sources.list文件中获取更新所使用的服务器,因此请确保sources文件中的内容是正确的。
Backtrack5中默认的sources.list文件中的内容如下:

deb http://all.repository.backtrack-linux.org revolution main microverse non-free testing
deb http://32.repository.backtrack-linux.org revolution main microverse non-free testing
deb http://source.repository.backtrack-linux.org revolution main microverse non-free testing

开始更新之前,需要先根据/etc/apt/sources.list文件中指定的更新地址,来同步软件安装的索引文件。用来完成者一个工作的命令如下:

apt-get update

请记得在每次安装或更新软件包之前都先运行

apt-get update

命令。
当软件包索引文件的同步完成之后,就可以开始更新了。
有两种不同的更新方式可以选择:

apt-get upgrade

:该命令会将当前系统中安装的所有软件包更新到最新版本。如果在更新某一个软件包时发生了错误,那么旧的软件包将会被完整保留。

免费米思米标准件下载

【点击进入】
米思米标准件下载免费,45万种标准件全覆盖, 3步操作生成2D/3D模型,效率提升50%!

查 看

apt-get dist-upgrade

:该命令将会更新整个backtrack发行版。例如,如果想要将backtrack5 更新到backtrack 5 r1,就可以使用该命令。该命令会更新当前安装的所有软件包,同时会处理更新过程中发生的软件版本冲突情况。
一旦选择了合适的命令选项用来更新backtrack,apt-get 程序会列出所有将要被安装、更新或者删除的软件包,然后程序会要求我们进行确认。
如果确认要进行更新,更新程序就会开始工作。注意更新程序可能会运行相当长的时间,这取决于当前网络连接速度(万恶的天朝网速。。。)。
0×02 更新内核
Upgrading to BackTrack 5 R2

The long awaited release of the BackTrack 5 R2 kernel has arrived, and it’s now available in our repositories. With a spanking brand new 3.2.6 kernel, a huge array of new and updated tools and security fixes, BT5 R2 will provide a more stable and complete penetration testing environment than ever before. We will start a series of blog posts on how to upgrade, deal with VMWare, and even build your own updated BT5 R2 by yourself. For now though, here’s how to get the new kernel and all of the updated goodness:

1. Update and upgrade your BT5 (R1) installation:

apt-get update
apt-get dist-upgrade
apt-get install beef
reboot

Once that’s done, you should already have the new kernel installed as well as any last updates we have for the official R2 release. You need to reboot to have the 3.2.6 kernel kick in.

2. OPTIONAL – Once rebooted, log back in, and get your pretty splash screen back.

fix-splash
reboot

On the next reboot, you should see the red console splash screen appear.

3. Verify that you are running a 3.2.6 kernel:

uname -a

You should see something like “Linux bt 3.2.6 …”

4. Feel free to install any or all of the new tools featured in BackTrack 5 R2:

apt-get install pipal findmyhash metasploit joomscan hashcat-gui golismero easy-creds pyrit sqlsus vega libhijack tlssled hash-identifier wol-e dirb reaver wce sslyze magictree nipper-ng rec-studio hotpatch xspy arduino rebind horst watobo patator thc-ssl-dos redfang findmyhash killerbee goofile bt-audit bluelog extundelete se-toolkit casefile sucrack dpscan dnschef

5. Add the new security updates repository to /etc/apt/sources.list, and run another upgrade.

echo “deb http://updates.repository.backtrack-linux.org revolution main microverse non-free testing” >> /etc/apt/sources.list
apt-get update
apt-get dist-upgrade

During the last upgrade you’ll be asked about file revision updates. Make sure to always keep the locally installed file. Feel free to press “Enter” and accept all the defaults.

6. Some of the newly installed services will be set to start on boot. We like disabling these as needed:

/etc/init.d/apache2 stop
/etc/init.d/cups stop
/etc/init.d/winbind stop

update-rc.d -f cups remove
update-rc.d -f apache2 remove
update-rc.d -f winbind remove

And…you’re done! Expect a more comprehensive introduction to BT5 R2, on the day of the Official release – March 1st! The BackTrack 5 R2 ISOS will we available for download from our site on May 1st via Torrent only. HTTP links will be added a few days later.
温馨提示:答案为网友推荐,仅供参考
相似回答