Skip to content

Script to remove OpenVAS Local Security Checks to rebuild NVT Caches more faster.

Notifications You must be signed in to change notification settings

sujit/LSC_Remover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Local Security Check (LSC) NVTs Remover

Description: Script to remove LSC checks from OpenVAS NVT Plugins directory.

Module requirements:

  • fnmatch [Should be there by default]
  • User access permission (both read/write) to the OpenVAS plugins directory and the contents inside them.

Script usage:

  • $ sudo chmod a+x lsc_remover.py
  • $ sudo python lsc_remover.py

Script will perform the following actions:

  • Navigate to /var/lib/openvas/plugins directory and scan for the presence of all OpenVAS LSC based NVTs.
  • Make the list of all the NASL and ASC files those needs to be deleted.
  • Delete the filtered files one-by-one.
  • After removal of all the files, please run openvasmd --rebuild to generate the new NVTs cache. That's it!

Feedbacks:

  • Please drop an email to: thesujit [at] gmail [dot] com, if you have any suggestions/feedbacks.

About

Script to remove OpenVAS Local Security Checks to rebuild NVT Caches more faster.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages