Wednesday, January 25, 2012

How to install nessus in backtrack 5



2. Go to directory where the download result has been saved, then install it by using this command :
#dpkg Nessus-4.4.1-ubuntu1010_i386.deb 

Result :
dpkg Nessus-4.4.1-ubuntu1010_i386.deb
dpkg: need an action option

Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --license for copyright license and lack of warranty (GNU GPL) [*].

Options marked [*] produce a lot of output - pipe it through `less' or `more' !
root@bt:/opt# dpkg -i Nessus-4.4.1-ubuntu1010_i386.deb
Selecting previously deselected package nessus.
(Reading database ... 314198 files and directories currently installed.)
Unpacking nessus (from Nessus-4.4.1-ubuntu1010_i386.deb) ...
Setting up nessus (4.4.1) ...

 - Please run /opt/nessus/sbin/nessus-adduser to add a user
 - Register your Nessus scanner at http://www.nessus.org/register/ to obtain
   all the newest plugins
 - You can start nessusd by typing /etc/init.d/nessusd start

Processing triggers for ureadahead ...
root@bt:/opt# /opt/nessus/bin/nessus-fetch --register A1C6-5E51-F3D6-4C6B-7962
Your activation code has been registered properly - thank you.
Now fetching the newest plugin set from plugins.nessus.org...
Your Nessus installation is now up-to-date.
If auto_update is set to 'yes' in nessusd.conf, Nessus will
update the plugins by itself.

 
2. Wait, untill the process is finished.
3. Start nessus by typing this following command. 
# /etc/init.d/nessusd start
Result :
root@bt:/opt# /etc/init.d/nessusd start
Starting Nessus : .
4. Add nessus user by typing this command
# /opt/nessus/sbin/nessus-adduser
Result :
root@bt:/opt# /opt/nessus/sbin/nessus-adduser
Login : sussen
Login password :
Login password (again) :
Do you want this user to be a Nessus 'admin' user ? (can upload plugins, etc...) (y/n) [n]: y
User rules
----------
nessusd has a rules system which allows you to restrict the hosts
that sussen has the right to test. For instance, you may want
him to be able to scan his own host only.

Please see the nessus-adduser manual for the rules syntax

Enter the rules for this user, and enter a BLANK LINE once you are done :
(the user can have an empty rules set)



Login             : sussen
Password         : ***********
This user will have 'admin' privileges within the Nessus server
Rules             :
Is that ok ? (y/n) [y] y
User added

6. Choose “Using Nessus at Homemade” for free registration
7. You will be direct to “SUBSCRIPTION AGREEMENT” page
8. Click “AGREE”, then fill your name and email, then click register.
  
9. The registration code will be sent into your email.

10. Open your email address, and choose the registration code based on your operation system. In this case I use Linux, so my registration code is 5DE2-0F2F-CCBC-8820-6E1D.


 11. Type https://localhost:8834/ at the browser address bar to access nessus and wait until loading progress is finished
12. Enter nessus username and address having been created, click login.

13. Then the nessus will be opened






1 komentar:

Post a Comment