himei/getipbyisp 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

himei/getipbyisp

Composer 安装命令:

composer require himei/getipbyisp

包简介

Simple cURL based console application for getting IP ranges from suip.biz web-services by city, country or ISP

README 文档

README

Deprecated. See Goranger.

Simple cURL based console application for getting IP ranges from https://suip.biz web-services by city, country (very big size!! i'm really afraid) or ISP. In case of ISP you may specify single ip or web-site url of that provider as argument of script.

Dependencies

  • pear/console_commandline

Installation

Install via Composer:

composer require himei/getIpbyIsp

For manual installation clone repo

git clone https://github.com/hIMEI29A/getIpbyIsp.git

Follow to the root programm folder:

cd getIpbyIsp

Then install dependencies

composer update

composer install

Usage

Follow to bin directory of root program folder:

cd bin

Make main program file executable:

chmod +x getipbyisp

Now use it.

Type next in your console for getting help:

./getipbyisp -h

or

./getipbyisp --help

The output:

Console application for getting IP range 
from suip.biz web-services by city, country or ISP

Usage:
  getipbyisp [options] type request

Options:
  -o output, --output=output  File to store the result
                              
  -h, --help                  Show this help message and exit

Arguments:
  type     Set the type of which IP ranges will be requested: city, counrty or isp
           
  request  Request string: for country - 2-letter country code, for city - its name, for ISP - single IP or ISPs url

Examples

To get all IP ranges of Serbia

./getipbyisp country RS

To get all IP ranges of London and save it to file.txt

./getipbyisp city london -o file.txt

To get all IP ranges of Beeline ISP

./getipbyisp isp beeline.ru

or

./getipbyisp isp 217.118.85.19

Warning!!! In case of request by city, write the name of the city carefully and accurately, as much as possible. If an error occurs in the name, the search on the uncleaned database is activated, and the result includes ALL IP ranges from all possible variants. To get the most accurate result, the city name must not contain errors.

TODO

  • Tests

Contact

For bug reports or any other purpose you may contact me via email [himei at tuta dot io].

统计信息

  • 总下载量: 7
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-12-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固