mirror of
https://github.com/gchq/CyberChef
synced 2025-01-26 03:05:06 +00:00
add invalid ipv4 subnet test
This commit is contained in:
parent
a37beea1d2
commit
601915aa61
1 changed files with 11 additions and 0 deletions
|
@ -118,6 +118,17 @@ TestRegister.addTests([
|
|||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
name: "Invalid IPv4 subnet mask error",
|
||||
input: "192.168.0.0/255.255.253.0",
|
||||
expectedOutput: "Invalid subnet mask",
|
||||
recipeConfig: [
|
||||
{
|
||||
"op": "Parse IP range",
|
||||
"args": [true, true, false]
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
name: "IPv6 subnet out of range error",
|
||||
input: "2404:6800:4001::/129",
|
||||
|
|
Loading…
Reference in a new issue