🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #254248

Re: creation of nym at mixmin net

#254248
From: Rooster
Date: Mon, 13 Feb 2012 06:54
98 lines
5531 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In article <20120213050846.1A748EB244@snorky.mixmin.net>
StealthMonger <Use-Author-Supplied-Address-Header@[127.1]> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Zero Null <null@domain.invalid> writes:
>
> > StealthMonger wrote:
>
> >> In a directory full of AAM articles, issue the following bash command:
>
> >> for f in *;do gpg --batch --passphrase-fd 3 3<passwd < $f >/dev/null 2>/dev/null && echo $f;done

I sure like looking at that command.  Something enticing about it.
I'm tempted to try this test on my Linux box once just so that I
can see how it goes.

[snip]

> I'm sure you know what a redirect is, from your readings of man bash.
> So you should be able to figure out what an ambiguous redirect is.
> It's even telling you that it's specifically $f where the ambiguity
> arises.  This tells you that $f is expanding to more than one name in
> the redirection " < $f " in the command.
>
> I see that your news reader is naming files after their Subject:
> lines.  a731d7f19da81401ebd806f7d56ff0bcb8ff630e765a9308 for example
> is the Subject: of Message-ID: <3787ZQ2040950.4033912037@reece.net.au>
> dated 11 Feb 2012 01:40:53 -0000.
>
> Bad idea.  Some Subject:'s have more than one word.  This can cause the
> observed ambiguous redirect.

When I worked out the message decryption procedure for the Windows
shell with my two scripts, and mostly for the second one, I
encountered this issue too.  Those file names can be problematic,
for sure, especially those that are deliberately created by trolls
hoping to complicate life.  It took a little doing to figure out
how to remove them from the equation before the batch processing
happened, but I did succeed in automating it.

I took into account the fact that valid messages, that is to say in
terms of those that would be created legitimately by the nym
server, would always have certain unvarying and simple
characteristics that I could key in on.  Specifically, they were of
a fixed length and they had only hexadecimal characters.  Also, I
purposely gave all the files a convenient suffix (file1.txt) when I
saved them with their subject names.  Consequently, anything not of
this pattern was either bogus or not created by a nym server, which
was what I sought.

Therefore, I added a routine that would remove spaces, count the
number of characters and escape the special characters. For any of
the files not fitting my desired pattern, my routine sequestered
them into a separate folder so that they could not interfere with
the batch decryption process. This was the simplest solution for
efficiently handling them while retaining the names of the subjects
too, which is important for identifying the hsub.  On the other
hand, depending on your situation, it is also an easy matter,
albeit a manual one, to look at the file names (in a fixed length
font) and quickly see which are irregular; and these can be deleted
before the procedure of decryption begins.

I was going to ask you.  Does your command procedure take into
account the possibility that some passwords could have special
characters and they may need to be escaped?  It may be unlikely
that this has occured here, but generally speaking it might down
the road, so to speak.

> Find another directory which has the same files but with reasonable
> file names.  Or use a script to rename the files in this directory.
> Save yourself the misery of dealing with file names containing
> punctuation.
>

- --
rooster@thechickencoop.net

-----BEGIN PGP SIGNATURE-----
Version: N/A

iQGcBAEBAgAGBQJPOKw1AAoJEO3Co03SMUtBq1sL/3BDEtUUoZH4tndPY9m998uR
kLG+Pw//AzgBFSJMBCI+1H9CopAYeq8JpUinz42rNzg9mp2/3XzFpu4MNx0SuoAL
Ra3eaRpfm75qpeuhCK3FK1DQRQx/nQ5a+ADyWVkLOZQ2TVH3UFbwiIy5ncSjDRNZ
pghTpeRE+L3f9U8HgaOKyA2ZVebVe9k5ZaHiaMX/FbJPIESFKLeMTtZRaqjTANRb
PU7pOexYFFBu5qel5M8vA26QzYbowaOAL8IKadYVs2i6Klwt9Bz2MXor5PtKHCQ5
rLoHeiphxDG41Ubp4wXI0lEADdYcCmLm6/TXWVJzc2IFfdOc/cATQiB/W12tOr4y
dXaALpecNyeh5VE+mjw6cbc+Wb5Gyj//wNS5P6rxLfoBa7LZ8u73i3nRIKK2D94l
M07mX1qfgk/lX9pAd7qccwqQdJoPmNWG+A9ZzY+DArvH2/4bB5YQpt2ikYI/UuZF
HZKVUqNEeZM1RFjh7xLWeUooyvhaoOZhKmxa9CMfOw==
=i12o
-----END PGP SIGNATURE-----

Technical Details
Message-ID: <4SBTPG8Q40952.6209375@reece.net.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!eweka.nl!hq-usenetpeers.eweka.nl!188.40.76.149.MISMATCH!mail2news.mixmin.net!not-for-mail
References: <jh2iqe$pdj$3@news.mixmin.net> <585e83054d984e5f11a3b9d9b9da2670@dizum.com> <jh446i$f13$1@news.mixmin.net> <DOGP6AHD40950.3278240741@reece.net.au> <jh4jud$igl$1@news.mixmin.net> <a0d3d1c0a3f926149f1741abae4526ee@anonymitaet-im-inter.net> <jh7ml1$tv2$1@news.mixmin.net> <20120212103657.A7B7EEB191@snorky.mixmin.net> <jh9pfr$hhb$1@news.mixmin.net> <20120213050846.1A748EB244@snorky.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <4SBTPG8Q40952.6209375@reece.net.au>
Subject: Re: creation of nym at mixmin net
Date: Mon, 13 Feb 2012 06:54:09 +0000
From: Rooster <remailer@reece.net.au>
References: <jh2iqe$pdj$3@news.mixmin.net> <585e83054d984e5f11a3b9d9b9da2670@dizum.com> <jh446i$f13$1@news.mixmin.net> <DOGP6AHD40950.3278240741@reece.net.au> <jh4jud$igl$1@news.mixmin.net> <a0d3d1c0a3f926149f1741abae4526ee@anonymitaet-im-inter.net> <jh7ml1$tv2$1@news.mixmin.net> <20120212103657.A7B7EEB191@snorky.mixmin.net> <jh9pfr$hhb$1@news.mixmin.net> <20120213050846.1A748EB244@snorky.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!eweka.nl!hq-usenetpeers.eweka.nl!188.40.76.149.MISMATCH!mail2news.mixmin.net!not-for-mail
X-Remailer-Contact: abuse@reece.net.au (English Only Please)
Newsgroups: alt.privacy.anon-server
Lines: 99
Injection-Info: mail2news.mixmin.net; mail-complaints-to=abuse@mixmin.net
X-Original-Bytes: 5198