Product manual

GFI LanGuard 13 Utilities | 227
Switch Description
/VULNCAT:<category> Exports/Imports all vulnerabilities of the specified category.
/VULN:<name> Exports/Imports the specified vulnerability (/VULNCAT must be specified).
/PORTTYPE:<type> Exports/Imports all ports of the specified type.
/PORT:<number> Exports/Imports the specified port (/PORTTYPE must be specified).
/SKIP If an item already exists in the target XML/database, that item will be skipped
/OVERWRITE If an item already exists in the target XML/database, that item will be overwritten.
/RENAME:<value> If an item already exists in the target XML/database, that item will be renamed to <value>. If
/PROFILE or /VULN was specified, port information merged with that item is a port or renamed
by prefixing its name with <value> in any other case.
Example 1
To import specific entries from an XML file:
impex /xml:regcheck.xml /vuln:"Blaster Worm" /vulncat:"Registry
Vulnerabilities"
Example 2
To import a whole XML file:
impex /xml:regcheck.xml /im
Note
The Impex executable can be located in the GFI LanGuard installation folder.
Note
If the specified <xmlfile>, <dbfile>, <name>, <category> or <value> contain
any space character, the whole value must be placed between double quotes. Example:
<xmlfile> containing space = "Vulnerability Checks Definitions.xml"
<xmlfile> without space = VulnerabilityChecksDefinitions.xml
Note
It is recommended that if the vulnerabilities are imported into another installed
instance of GFI LanGuard; that installation will have the same build number as the one
the database has been exported from.
IMPORTANT
It is highly recommended not to use the Impex tool if GFI LanGuard application
(LanGuard.exe) or LanGuard scanning profiles (scanprofiles.exe) are running.