O'Reilly logo

Network Scanning Cookbook by Sairam Jetty

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How do it…

Perform the following steps:

  1. Open Notepad++ or any text editor.
  2. In order to create a Windows check for a custom item, we need to begin and end the check with the custom_item tag:
<custom_item></custom_item>
  1. Now, we need to identify the required metadata attributes and define them. In this case, we will go with description and info:
<custom_item> description: "Free disk space in system partition#C drive" info: "Powershell command will output the free space available on C drive"</custom_item>
  1. Now, we need to define the type of check we need to perform. Nessus executes all the NASL windows commands on PowerShell, and so the type of the check would be AUDIT_POWERSHELL:
<custom_item>type: AUDIT_POWERSHELL description: "Free disk ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required