-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: resdb
action: commit
revision:
path_from:
revision_from: e4734d7592a11fbb206b4da851f7b1cd8d10b7c8:
path_to:
revision_to:

git.thebackupbox.net

resdb

git://git.thebackupbox.net/resdb

commit e4734d7592a11fbb206b4da851f7b1cd8d10b7c8
Author: epoch <epoch@hacking.allowed.org>
Date:   Mon Oct 28 04:16:16 2013 +0000

    fixed the ns.whois.ano thing... don't remember what I did to whoisd.pl. Oh well.

diff --git a/contrib/whoisd/whoisd.pl b/contrib/whoisd/whoisd.pl

index 158c075a2ec0bb286fa5f8a21ba2df6c0343583e..

index ..67636c976e0b6f582242f15369eaeab64d30fadf 100755

--- a/contrib/whoisd/whoisd.pl
+++ b/contrib/whoisd/whoisd.pl
@@ -6,11 +6,17 @@

 use strict;

+#maybe chroot this whoisd?
 my $RESDB = "/services/resdb/resdb";

 my $HACK=0;
 my $QUERY=<stdin>;
 $QUERY =~ s/\r\n//g;
+$QUERY =~ s/\///g;
+if($QUERY eq '') {
+ printf "%% error. no query. wtf?";
+ exit 0;
+}
 my $out;
 my $title;
 my $value;
@@ -97,7 +103,7 @@ if($QUERY =~ m/\./) {
 }

 # default to assuming it is a name.
-printf "%% user section for %s\n", $QUERY unless $HACK;
+printf "%% user section for '%s'\n", $QUERY unless $HACK;

 chdir("$RESDB/db/usr") || die "%% error";
 if(chdir($QUERY)) {
diff --git a/db/dom/ano/whois/ns/ns.whois.ano b/db/dom/ano/whois/ns/ns.whois.ano

index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..

index ..cb39eef853663887ebbcebd551165671baabcdc6 100644

--- a/db/dom/ano/whois/ns/ns.whois.ano
+++ b/db/dom/ano/whois/ns/ns.whois.ano
@@ -0,0 +1 @@
+1.41.41.1

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 10:05:57 2024