joungkyun / kwhois Goto Github PK
View Code? Open in Web Editor NEWWHOIS client cli interface
License: GNU General Public License v2.0
WHOIS client cli interface
License: GNU General Public License v2.0
-h option is required option argument.
kwhois -h
./kwhois: option requires an argument -- 'h'
Usage: kwhois [OPTION...] query[@server[:port]]
valid options:
-h server server name
-p port server port
-t timeout query time limit
-r force recursion
-n disable recursion
-v verbose mode
-- treat remaining arguments as part of the query
default server is whois.iana.org
kwhois 4.8
Search command:
[root@host ~]$ whois oops.today
Expected result:
print domain informations
Actually result:*
-------------------------------------------
** Recurse try to who.godaddy.com/ ...
Unknown error while getting connection info for who.godaddy.com/:whois
Execute:
[user@host ~]$ whois domain.com.
Expected:
normal result.
Actual result:
occurs segfault
If execute follow command,
[user@host ~]$ kwhois [email protected]
sometimes, the value of qr.server is changed garbage data and connection error occurs.
Execute:
[user@host ~]$ whios oops.net
Respected Result:
normal process
Actual Result:
*** Error in `./kwhois': double free or corruption (fasttop): 0x000000000088c390 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7c503)[0x7f4fe319f503]
./kwhois[0x403241]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f4fe3144b35]
./kwhois[0x4017e9]
======= Memory map: ========
00400000-00406000 r-xp 00000000 ca:01 36444395 /root/work/github/joungkyun/kwhois/kwhois
00605000-00606000 r--p 00005000 ca:01 36444395 /root/work/github/joungkyun/kwhois/kwhois
00606000-00608000 rw-p 00006000 ca:01 36444395 /root/work/github/joungkyun/kwhois/kwhois
0088b000-008ac000 rw-p 00000000 00:00 0 [heap]
7f4fd8000000-7f4fd8021000 rw-p 00000000 00:00 0
7f4fd8021000-7f4fdc000000 ---p 00000000 00:00 0
7f4fdc12c000-7f4fdc141000 r-xp 00000000 ca:01 33675445 /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f4fdc141000-7f4fdc340000 ---p 00015000 ca:01 33675445 /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f4fdc340000-7f4fdc341000 r--p 00014000 ca:01 33675445 /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f4fdc341000-7f4fdc342000 rw-p 00015000 ca:01 33675445 /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f4fdc342000-7f4fe286b000 r--p 00000000 ca:01 528214 /usr/lib/locale/locale-archive
7f4fe286b000-7f4fe2882000 r-xp 00000000 ca:01 33645408 /usr/lib64/libpthread-2.17.so
7f4fe2882000-7f4fe2a81000 ---p 00017000 ca:01 33645408 /usr/lib64/libpthread-2.17.so
7f4fe2a81000-7f4fe2a82000 r--p 00016000 ca:01 33645408 /usr/lib64/libpthread-2.17.so
7f4fe2a82000-7f4fe2a83000 rw-p 00017000 ca:01 33645408 /usr/lib64/libpthread-2.17.so
7f4fe2a83000-7f4fe2a87000 rw-p 00000000 00:00 0
7f4fe2a87000-7f4fe2a8e000 r-xp 00000000 ca:01 33645412 /usr/lib64/librt-2.17.so
7f4fe2a8e000-7f4fe2c8d000 ---p 00007000 ca:01 33645412 /usr/lib64/librt-2.17.so
7f4fe2c8d000-7f4fe2c8e000 r--p 00006000 ca:01 33645412 /usr/lib64/librt-2.17.so
7f4fe2c8e000-7f4fe2c8f000 rw-p 00007000 ca:01 33645412 /usr/lib64/librt-2.17.so
7f4fe2c8f000-7f4fe2cc1000 r-xp 00000000 ca:01 33679419 /usr/lib64/libidn.so.11.6.11
7f4fe2cc1000-7f4fe2ec0000 ---p 00032000 ca:01 33679419 /usr/lib64/libidn.so.11.6.11
7f4fe2ec0000-7f4fe2ec1000 r--p 00031000 ca:01 33679419 /usr/lib64/libidn.so.11.6.11
7f4fe2ec1000-7f4fe2ec2000 rw-p 00032000 ca:01 33679419 /usr/lib64/libidn.so.11.6.11
7f4fe2ec2000-7f4fe2f22000 r-xp 00000000 ca:01 33592310 /usr/lib64/libpcre.so.1.2.0
7f4fe2f22000-7f4fe3121000 ---p 00060000 ca:01 33592310 /usr/lib64/libpcre.so.1.2.0
7f4fe3121000-7f4fe3122000 r--p 0005f000 ca:01 33592310 /usr/lib64/libpcre.so.1.2.0
7f4fe3122000-7f4fe3123000 rw-p 00060000 ca:01 33592310 /usr/lib64/libpcre.so.1.2.0
7f4fe3123000-7f4fe32d9000 r-xp 00000000 ca:01 33592120 /usr/lib64/libc-2.17.so
7f4fe32d9000-7f4fe34d9000 ---p 001b6000 ca:01 33592120 /usr/lib64/libc-2.17.so
7f4fe34d9000-7f4fe34dd000 r--p 001b6000 ca:01 33592120 /usr/lib64/libc-2.17.so
7f4fe34dd000-7f4fe34df000 rw-p 001ba000 ca:01 33592120 /usr/lib64/libc-2.17.so
7f4fe34df000-7f4fe34e4000 rw-p 00000000 00:00 0
7f4fe34e4000-7f4fe34ed000 r-xp 00000000 ca:01 33679428 /usr/lib64/libolibc.so.1.0.0
7f4fe34ed000-7f4fe36ec000 ---p 00009000 ca:01 33679428 /usr/lib64/libolibc.so.1.0.0중지됨
In Changelog, the license of kwhois is recorded as GPL 2.1. However, there is no GPL 2.1, and the contents of the actual LICENSE file are LGPL 2.1. Therefore, the contents should be modified by GPL 2.0.
Many gtdl are missing.
[root@an3 kwhois]$ whois nic.google
[whois.verisign-grs.com]
No match for "NIC.GOOGLE".
>>> Last update of whois database: 2019-01-24T16:00:22Z <<<
NOTICE: The expiration date displayed in this record is the date the
registrar's sponsorship of the domain name registration in the registry is
currently set to expire. This date does not necessarily reflect the expiration
date of the domain name registrant's agreement with the sponsoring
registrar. Users may consult the sponsoring registrar's Whois database to
view the registrar's reported date of expiration for this registration.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.