Devon Kirk d849a6ee42 query_server: strip control characters from server response
whois server responses are written directly to stdout without filtering
terminal control characters. A malicious or compromised whois server can
inject ANSI escape sequences (OSC 52 clipboard injection, terminal title
manipulation, screen clearing) into the user's terminal.

Filter control characters (bytes < 0x20 except tab) and DEL (0x7F) from
each response line before processing.
2026-06-29 15:57:08 -04:00
2026-02-16 02:46:59 +01:00
2023-11-16 22:47:16 +01:00
2026-02-16 02:46:44 +01:00
2025-05-04 00:41:16 +02:00
2025-10-13 02:46:08 +02:00
2023-05-13 20:29:07 +02:00
2023-11-08 11:38:27 +01:00
2025-06-02 00:09:16 +02:00
2023-11-08 11:38:27 +01:00
2025-05-05 02:38:02 +02:00
2023-02-28 00:33:41 +01:00
2026-02-16 02:46:44 +01:00
2023-10-08 13:05:49 +02:00
2023-11-16 22:47:16 +01:00
2026-02-16 02:46:44 +01:00
2026-02-16 02:46:44 +01:00
2026-02-16 02:46:44 +01:00
2025-05-05 02:38:02 +02:00
2023-02-28 00:33:41 +01:00
2022-01-03 15:45:46 +01:00

In 1999 I wrote this Whois client from scratch because the alternatives
were obsolete or bloated.

This client is intelligent and can automatically select the appropriate
whois server for most queries.

The internal database is often more accurate than IANA's published one,
but please send me any information you have regarding domains and network
resources which are not correctly handled by the program.

Because of historical reasons this package also contains the mkpasswd
program, which can be used to encrypt a password with crypt(3).


The canonical distribution point for releases of the program is
https://ftp.debian.org/debian/pool/main/w/whois/ .


Useful information sources:
- https://www.ripe.net/ripe/docs/current-ripe-documents/ripe-database-documents
- https://www.iana.org/domains/root/db/
- https://www.icann.org/en/resources/idn/fast-track/string-evaluation-completion
- https://www.aftld.org/

Marco d'Itri <md@linux.it>
Description
Languages
C 79.5%
Roff 8.9%
Makefile 5.1%
Perl 4.2%
Shell 1.6%
Other 0.7%