Home > Configuration > Application Firewall > setappfwprofile_cmdinjectiontype

setappfwprofile_cmdinjectiontype

Use this method to set available CMD injection types.
-CMDSplChar : Checks for CMD Special Chars
-CMDKeyword : Checks for CMD Keywords
-CMDSplCharANDKeyword : Checks for both and blocks if both are found
-CMDSplCharORKeyword : Checks for both and blocks if anyone is found,
-None : Disables checking using both CMD Special Char and Keyword

Syntax



Parameters

name

Name of the profile that you want to modify.
This is mandatory parameter.

cmdinjectiontype

Available CMD injection types. -CMDSplChar : Checks for CMD Special Chars -CMDKeyword : Checks for CMD Keywords -CMDSplCharANDKeyword : Checks for both and blocks if both are found -CMDSplCharORKeyword : Checks for both and blocks if anyone is found, -None : Disables checking using both CMD Special Char and Keyword
Default value = AS_CMDINJECTION_TYPE_CHAR_AND_KEYWORD.
Possible Values : CMDSplChar, CMDKeyword, CMDSplCharORKeyword, CMDSplCharANDKeyword, None.

Return Value

Returns simpleResult

See Also