Debian8 add kali source and install metasploit
At my friend's request, he wants to install metasploit on vps, because kali 2.0 is based on debian8, so I suggest he use debian8. But he said that using debian8 to add kali sources, the update gave a 404 Not Found error. So I tried it myself.
Look at the environment first.
root@localhost:~# cat /etc/issue.net && uname -aDebian GNU/Linux 8Linux localhost 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u3 (2015-08-04) x86_64 GNU/Linux
Add kali source to/etc/apt/sources.list:
root@localhost:~# cat >> /etc/apt/sources.list db_connect postgres:postgrespass@127.0.0.1/msfbook #connect msf to postgresql database [*] Rebuilding the module cache in the background... #This sentence means to rebuild the module cache in the background. msf > db_status #View database connection status [*] postgresql connected to msfbook #MSF can be used normally at this time. msf > search smb[!] Module database cache not built yet, using slow search##If this message appears, it means that there is no module cache in the database, use slow search (search disk directly).## This situation may occur because the background cache reconstruction is not completed, just wait a moment to try again, or the database connection is not normal,##resulting in failure to rebuild/read the cache.