[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: mmdblookup.1
File is not writable. Editing disabled.
.\" Automatically generated by Pandoc 1.19.2.4 .\" .TH "mmdblookup" "1" "" "" "" .hy .SH NAME .PP mmdblookup \- a utility to look up an IP address in a MaxMind DB file .SH SYNOPSIS .PP mmdblookup \-\-file [FILE PATH] \-\-ip [IP ADDRESS] [DATA PATH] .SH DESCRIPTION .PP \f[C]mmdblookup\f[] looks up an IP address in the specified MaxMind DB file. The record for the IP address is displayed in a JSON\-like structure with type annotations. .PP If an IP\[aq]s data entry resolves to a map or array, you can provide a lookup path to only show part of that data. .PP For example, given a JSON structure like this: .IP "" 4 .nf \f[C] { \ \ \ \ "names":\ { \ \ \ \ \ \ \ \ "en":\ "Germany", \ \ \ \ \ \ \ \ "de":\ "Deutschland" \ \ \ \ }, \ \ \ \ "cities":\ [\ "Berlin",\ "Frankfurt"\ ] } \f[] .fi .PP You could look up just the English name by calling mmdblookup with a lookup path of: .IP "" 4 .nf \f[C] mmdblookup\ \-\-file\ ...\ \-\-ip\ ...\ names\ en \f[] .fi .PP Or you could look up the second city in the list with: .IP "" 4 .nf \f[C] mmdblookup\ \-\-file\ ...\ \-\-ip\ ...\ cities\ 1 \f[] .fi .PP Array numbering begins with zero (0). .PP If you do not provide a path to lookup, all of the information for a given IP will be shown. .SH OPTIONS .PP This application accepts the following options: .TP .B \-f, \-\-file The path to the MMDB file. Required. .RS .RE .TP .B \-i, \-\-ip The IP address to look up. Required. .RS .RE .TP .B \-v, \-\-verbose Turns on verbose output. Specifically, this causes this application to output the database metadata. .RS .RE .TP .B \-\-version Print the program\[aq]s version number and exit. .RS .RE .TP .B \-h, \-?, \-\-help Show usage information. .RS .RE .SH BUG REPORTS AND PULL REQUESTS .PP Please report all issues to our GitHub issue tracker (https://github.com/maxmind/libmaxminddb/issues). We welcome bug reports and pull requests. Please note that pull requests are greatly preferred over patches. .SH AUTHORS .PP This utility was written by Boris Zentner (bzentner\@maxmind.com) and Dave Rolsky (drolsky\@maxmind.com). .SH COPYRIGHT AND LICENSE .PP Copyright 2013\-2014 MaxMind, Inc. .PP Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at .IP "" 4 .nf \f[C] http://www.apache.org/licenses/LICENSE\-2.0 \f[] .fi .PP Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. .SH SEE ALSO .PP libmaxminddb(3)
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server05.hostinghome.co.in
Server IP: 192.168.74.40
PHP Version: 7.4.33
Server Software: Apache
System: Linux server05.hostinghome.co.in 3.10.0-962.3.2.lve1.5.81.el7.x86_64 #1 SMP Wed May 31 10:36:47 UTC 2023 x86_64
HDD Total: 1.95 TB
HDD Free: 691.78 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Disabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: itsweb
User ID (UID): 1619
Group ID (GID): 1621
Script Owner UID: 1619
Current Dir Owner: N/A