> For the complete documentation index, see [llms.txt](https://davidtancredi.gitbook.io/pentesting-notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://davidtancredi.gitbook.io/pentesting-notes/r3dcl1ff/webapp-pentest/vuln-scanners/tenable-nessus.md).

# Tenable Nessus

**Installation guide 2022**

```
#Download newest packages from
https://www.tenable.com/downloads/nessus


sudo apt install -f ./Nessus-10.3.0-debian9_amd64.deb

sudo systemctl enable nessusd

sudo systemctl start nessusd

sudo systemctl status nessusd.service

sudo  ss -ant | grep 8834

#Continue installation from GUI

Remove Ness for clean install, need a fresh sock puppet email

dpkg -l | grep nessus

dpkg -r nessus

apt install -f ./Nessus-10.3.0-debian9_amd64.deb

```

**#Purge old instance and reinstall**

```
##save as reinstall.sh##

printf "\n\n==========STOPPING NESSUS SERVICE==========\n"
systemctl stop nessusd
systemctl status nessusd

printf "\n\n==========UNINSTALL NESSUS==========\n"
sudo dpkg -r Nessus
sudo apt -y purge nessus

printf "\n\n==========REMOVING ASSOCIATED FOLDERS==========\n"
#rm -v -rf /opt/nessus/
rm -rf /opt/nessus/
printf "Removed all nessus resources"

printf "\n\n==========INSTALLING NEW INSTANCE==========\n"
sudo dpkg -i ./Nessus-10.5.0-debian10_amd64.deb   #modify package name according to current version

printf "\n\n==========STARTING NESSUS SERVICE==========\n"
systemctl start nessusd
systemctl status nessusd

printf "\n\nGo to https://kali:8834/ to configure your scanner\n"

```
