|
| 1 | +.TH IP2PROXY 1 |
| 2 | +.SH NAME |
| 3 | +ip2proxy \- query proxy information from local IP2Proxy BIN data file |
| 4 | + |
| 5 | +.SH SYNOPSIS |
| 6 | +ip2proxy \-\-data-file [IP2PROXY BIN DATA PATH] \-\-ip [IP ADDRESS] [OPTIONS] |
| 7 | + |
| 8 | +.SH DESCRIPTION |
| 9 | +.PP |
| 10 | +ip2proxy read the IP address, IPv4 or IPv6 address format, and get the information from IP2Proxy BIN data file for display. |
| 11 | +.PP |
| 12 | +User may provide the IP address as standard input or file containing one IP address per line. Several output formats supported such as CSV, TAB and XML. |
| 13 | +.PP |
| 14 | +You can download the IP2Proxy BIN data file from http://www.ip2location.com or http://lite.ip2location.com |
| 15 | +.SH EXAMPLES |
| 16 | +.TP |
| 17 | +ip2proxy \-\-data-file [IP2PROXY BIN DATA PATH] \-\-ip [IP ADDRESS] |
| 18 | +Query an IP address and display the results on screen |
| 19 | +.TP |
| 20 | +ip2proxy \-\-data-file [IP2PROXY BIN DATA PATH] \-\-input-file [INPUT FILE PATH] |
| 21 | +Query all IP addresses from an input file and display the results on screen |
| 22 | +.TP |
| 23 | +ip2proxy \-\-data-file [IP2PROXY BIN DATA PATH] \-\-input-file [INPUT FILE PATH] \-\-format XML |
| 24 | +Query all IP addresses from an input file and display the results in XML format on screen |
| 25 | +.TP |
| 26 | +ip2proxy \-\-data-file [IP2PROXY BIN DATA PATH] \-\-input-file [INPUT FILE PATH] \-\-format TAB \-\-output-file [OUTPUT FILE PATH] |
| 27 | +Query all IP addresses from an input file and output the result to a file in TAB format |
| 28 | +.TP |
| 29 | +ip2proxy \-\-data-file [IP2PROXY BIN DATA PATH] \-\-ip [IP ADDRESS] \-\-field country_code \-\no-heading |
| 30 | +Query an IP address and display the country_short result |
| 31 | +.TP |
| 32 | +ip2proxy \-\-data-file [IP2PROXY BIN DATA PATH] \-\-ip [IP ADDRESS] \-\-field country_code,city_name \-\no-heading \-\-format TAB |
| 33 | +Query an IP address and display the country_short and city result |
| 34 | + |
| 35 | +.SH OPTIONS |
| 36 | +\-b, \-\-bin-version |
| 37 | + Print the IP2Proxy BIN database version. |
| 38 | + |
| 39 | +\-d, \-\-data-file |
| 40 | + Specify the path of IP2Proxy .BIN data file. |
| 41 | + |
| 42 | +\-i, \-\-input-file |
| 43 | + Specify an input file with IP address list. |
| 44 | + |
| 45 | +\-p, \-\-ip |
| 46 | + Specify an IP address query (Supported IPv4 and IPv6 address). |
| 47 | + |
| 48 | +\-o, \-\-output-file |
| 49 | + Specify output file for query results. |
| 50 | + |
| 51 | +\-f, \-\-format |
| 52 | + Specify output format. Supported formats are: |
| 53 | + \- CSV (default) |
| 54 | + \- TAB |
| 55 | + \- XML |
| 56 | + |
| 57 | +\-h, \-?, \-\-help |
| 58 | + Display this help file |
| 59 | + |
| 60 | +\-v, \-\-version |
| 61 | + Display the version number |
| 62 | + |
| 63 | +\-e, \-\-field |
| 64 | + Specify the field to be displayed. Supported values are: |
| 65 | + \- ip |
| 66 | + \- proxy_type |
| 67 | + \- country_code |
| 68 | + \- country_name |
| 69 | + \- region_name |
| 70 | + \- city_name |
| 71 | + \- isp |
| 72 | + \- domain |
| 73 | + \- usage_type |
| 74 | + \- asn |
| 75 | + \- as |
| 76 | + \- last_seen |
| 77 | + \- threat |
| 78 | + \- provider |
| 79 | + |
| 80 | +\-n, \-\no-heading |
| 81 | + Suppress the heading display. |
| 82 | + |
| 83 | +.SH [AUTHORS] |
| 84 | +This tool was created by IP2Location (https://www.ip2location.com). |
| 85 | + |
| 86 | +.SH [COPYRIGHT AND LICENSE] |
| 87 | +Copyright 2001\-2024 IP2Location.com |
| 88 | + |
| 89 | +This tool is licensed under MIT. |
0 commit comments