![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
ip2
Advanced tools
Readme
Another ip address & hosts tools.
$ sudo npm i -g ip2
$ ip2 -h # print help
$ ip2 -lis # ip & system info
$ ip2 qq.com # get dns information
$ ip2 8.8.8.8 # get ip geo location
$ ip2 ls # list hosts
$ ip2 cat # print hosts content
$ sudo ip2 add google.txt # add hosts file to system
$ sudo ip2 use google # use the hosts file
$ ip2 24 # 255.255.255.0
$ ip2 127.0.0.1 # ipv4 to long
$ ip2 2130706433 # long to ipv4
$ ip2 '! 255.255.255.0' # 0.0.0.255
$ ip2 '192.168.1.134 or 0.0.0.255' # 192.168.1.255
$ ip2 '192.168.1.134 mask 255.255.255.0' # 192.168.1.0
$ ip2 '192.168.1.134 subnet 255.255.255.192' # subnet information
$ ip2 192.168.1.134/26 # CIDR subnet, same as previous
NOTICE: The sudo is must be used when you operating the hosts file.
Usage: ip2 [options] [command]
Commands:
ls [dir] list hosts
cat [hosts] print hosts contents
add <file> add custom hosts to system
use <hosts> change system hosts to custom hosts
rm <hosts> delete one custom hosts file
reload reload used hosts
reset reset hosts
init init hosts
help help & example
* ip utilities
Options:
-h, --help output usage information
-V, --version output the version number
-v, --version get version number
-f, --force overwrite file
-l, --local get local ip
-s, --system get system info
-i, --internet get internet ip info
See MANUAL for details.
See the CHANGELOG.
Copyright (c) 2015 Mark Zhan.
This project is available under the MIT license. See LICENSE for details.
FAQs
Get ip info & manage the hosts files
The npm package ip2 receives a total of 0 weekly downloads. As such, ip2 popularity was classified as not popular.
We found that ip2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.