[Security] install and use Back_Track_5 vm, back_track_5vm
Download and install
Download using a domestic image http://mirrors.ustc.edu.cn/kali-images/kali-1.0.9/
Here I download vm9.0, decompress it, open the vm, and open the file --> open --> select the extracted vm file to load the basic information. After the system is started, the username and password are root/toor.
Several things to do in vm: ssh, vmtools, and Gui
After entering the user name and password, you can use the startx command to start the graphic interface and enter the graphic interface. After you find that vmtools has been installed and pinged to the Internet, it can be used properly, and there are network options. If it is a hack wireless network, use the Bridge Mode to bind the NIC to change the default root password and use the passwd command.
Start the service BT installed a lot of services, many default is not enabled ssh start/etc/init. d/ssh startssh boot start update-rc.d-f ssh defaults other services are similar operations
Updating the software source has become a problem because bt does not support it anymore. When you run apt-get update, an error indicating a connection failure is reported.
Vim/etc/apt/sources. list
Change to # 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 testingdeb http://http.kali.org/kali kali main non-free contribdeb http://security.kali.org/kali-security kali/updates main contrib non-free
Then execute apt-get upadate reference: http://blog.bangazen.com/2014/05/memasukan-repo-kali-di.html
After the ssh service is enabled, the remote machine can be pinged, telnet is allowed, but ssh cannot be connected? Error: Connection closed by foreign host.
Solution: ssh-keygen-t dsa-f/etc/ssh/ssh_host_dsa_key
Ssh-keygen-t rsa-f/etc/ssh/ssh_host_rsa_key
/Etc/init. d/ssh restart is caused by the system key pair problem.
This article from the "orangleliu notebook" blog, reprint please be sure to keep this source http://blog.csdn.net/orangleliu/article/details/42278547
Author orangleliu adopts signature-non-commercial use-share protocol in the same way