rm -rf all-2.0.tar.gz
wget https://plugins.nessus.org/v2/nessus.php\?f\=all-2.0.tar.gz\&u\=4e2abfd83a40e2012ebf6537ade2f207\&p\=29a34e24fc12d3f5fdfbb1ae948972c6 -O all-2.0.tar.gz
sudo systemctl stop nessusd
sudo chattr -i -R /opt/nessus/lib/nessus/plugins
sudo chattr -i /opt/nessus/var/nessus/plugin_feed_info.inc /opt/nessus/var/nessus/.plugin_feed_info.inc /opt/nessus/var/nessus/plugins/plugin_feed_info.inc
sudo lsattr /opt/nessus/var/nessus/plugin_feed_info.inc /opt/nessus/var/nessus/.plugin_feed_info.inc /opt/nessus/var/nessus/plugins/plugin_feed_info.inc
sudo /opt/nessus/sbin/nessuscli update all-2.0.tar.gz
sudo cat /opt/nessus/lib/nessus/plugins/plugin_feed_info.inc
sudo sed -e '2d' -e '1a PLUGIN_FEED = "ProfessionalFeed (Direct)";' /opt/nessus/lib/nessus/plugins/plugin_feed_info.inc
sudo cp /opt/nessus/lib/nessus/plugins/plugin_feed_info.inc /opt/nessus/var/nessus/plugin_feed_info.inc
sudo cp /opt/nessus/lib/nessus/plugins/plugin_feed_info.inc /opt/nessus/var/nessus/.plugin_feed_info.inc
sudo cp /opt/nessus/lib/nessus/plugins/plugin_feed_info.inc /opt/nessus/var/nessus/plugins/plugin_feed_info.inc
sudo chattr +i /opt/nessus/var/nessus/plugin_feed_info.inc /opt/nessus/var/nessus/.plugin_feed_info.inc /opt/nessus/var/nessus/plugins/plugin_feed_info.inc
sudo lsattr /opt/nessus/var/nessus/plugin_feed_info.inc /opt/nessus/var/nessus/.plugin_feed_info.inc /opt/nessus/var/nessus/plugins/plugin_feed_info.inc
sudo chattr +i -R /opt/nessus/lib/nessus/plugins
sudo chattr -i /opt/nessus/lib/nessus/plugins/plugin_feed_info.inc
sudo chattr -i /opt/nessus/lib/nessus/plugins
sudo systemctl start nessusd