mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 06:55:08 -04: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",
|
name: "IPv6 subnet out of range error",
|
||||||
input: "2404:6800:4001::/129",
|
input: "2404:6800:4001::/129",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue