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