🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Find DEAD Remailers in use by your Nyms

#76380
From: Anonymous
Date: Mon, 28 Jul 2003 13:35
211 lines
5926 bytes
The program below may be of help to you.  It's
been tested on Linux and Windows 2000.  Here's
how to invoke it (well, one way at least):

 perl fdr.pl nymprofiles.txt rlist.txt

Now.  Why might this help you?

Because... Remailers DIE!  Yes.  They do.

If mail sent to your Nym(s) encounters a
Reply Block with a Dead Remailer, you
probably won't receive that mail.

----- Step 1 -----

So, first, you must get two files.
Using QuickSilver, get a list of all your
Nym profiles.  Start with Nym Tools (it's
next to the little sunglasses) on the
ToolBar.  So,...

Nym Tools -> Nym Reports -> Select All -> Ok
Right-click -> Select All -> right-click -> Copy

Now use  notepad  to create nymprofiles.txt
and paste the Nym Profiles into it and Save it.

----- Step 2 -----

Use your browser to get to
  http://lexx.shinn.net/stats/rlist
and save that file as rlist.txt.

----- Step 3 -----

Now, you're ready to run the program below.

On Linux, you can just  ./fdr.pl nymprofiles.txt rlist.txt

On Windows, it's safer to run the program this way:

 perl  fdr.pl  nymprofiles.txt  rlist.txt

because of some unfixed bugs in Windows.

(Geez, you pay Gates $300 for Windows,
you expect errors to be fixed.  But Nooooo.)

OK.  That's it.  Happy hunting those DEAD Remailers!

Oh.  Oh yeah, what if you find a DEAD Remailer or two?
Just pick one that's NOT dead and use the Nym Wizard
to Modify the Nym(s) that is/are using the DEAD.



#!/usr/bin/perl
use warnings;
use strict;
use Data::Dumper;
my $help;
my $nymproffile;
my $rlistfile;
$help = 0;
#print Dumper(\@ARGV, \$#ARGV);
# Handle parm list.
if ($#ARGV == 1) {
    $nymproffile = $ARGV[0];
    $rlistfile   = $ARGV[1];
}
else {$help = 1}
# Minimum help.
if ($help) {
    print STDERR "Example:\n";
    print STDERR "         $0  nymprof.txt  rlist.txt\n\n";
    print STDERR "Find DEAD Remailers in use by Nyms in 
nym_profiles_file.\n\n";
    exit 1;
}
# List the files to be used to find DEAD Remailers.

#$nymproffile = "nymprof.txt";          # Nym Profiles file
#$rlistfile = "rlist.txt";              # Remailer list file
my %remailer;
my $i;
my $max;
my $rlist = "$rlistfile";
my $plist = "$nymproffile";
my $fh;
my $inline;
my $name;
my $info;
my $address;
my $latency;
my $uptime;
my $index;
my $caps;
my $rest;

open($fh, "<", $rlist) or die "Can't open $rlist for reading: $!";

$index = 0;
while (defined ($inline = <$fh>)) {
  chomp $inline;
  next if $inline eq '';

  # Process '$remailer' lines.
  if ($inline =~ /^\$remailer/) {

    ($name, $info) = (split /\s=\s/, $inline)[0,1];
    $name =~ s/^\$remailer{"(.*)"}/$1/;
    $info =~ s/^"(.*)";/$1/;
    ($address, $caps) = (split /\s+/, $info, 2)[0,1];
    $address =~ s/^\<(.*)\>$/$1/;
    $remailer{$name}{'address'} = $address;
    foreach $_ (split /\s+/, $caps) {

      $remailer{$name}{'caps'}{$_} = 1;

    }
    next;

  }
  ($name, $rest) = (split /\s+/, $inline, 2)[0,1];
  next unless (defined ($remailer{$name}) and $rest ne '');
  $index++;
  ($name, $address, $latency, $uptime) = (split /\s+/, $inline)[0,1,-
2,-1]; # *+*+
  unless ($remailer{$name}{'address'} =~ /^$address/)
  {
     warn("Conflicting addresses in $name: 
\"$remailer{$name}{'address'}\" and \"$address\"");
  }

  $remailer{$name}{'latency'} = $latency;
  $remailer{$name}{'uptime'} = $uptime;
  $remailer{$name}{'index'} = $index;
  foreach $name (keys %remailer)
  {
    delete $remailer{$name} unless defined 
$remailer{$name}{'caps'}{'cpunk'};
  }
}
close($fh);

my $num_args;
my $remailer;
my $possible;
my @list;
my $switch;
my @bigarray;
#my $i;
#my $max;
my $temp;

# Open the Nym Profile file, read it all in;

open($fh, "<", $nymproffile);
@bigarray = <$fh>;
close($fh);

@list = ();
$i = -1;
$max = scalar(@bigarray) - 1;
$switch = 0;

while ($i < $max) {
  $i = $i + 1;
  if (not $switch) {
    if ($bigarray[$i] =~ /Name:/) {
      $switch = 1;
      $possible = $bigarray[$i-1];
    }
  }
  else {
    $temp = $bigarray[$i];
    $temp =~ s/^\s+//;
    $temp =~ s/\s+$//;
    next if $temp eq "";
    if (length($temp) > 8) {
      if ($bigarray[$i] =~ /Name:/) {
        $switch = 0;
        $i = $i - 1;
      }
    }
    else {
      if (not exists $remailer{$temp}) {
        $possible =~ s/^\s+//;
        $possible =~ s/\s+$//;
        push @list, $possible . ' ' . $temp;
        $switch = 0;
      }
    }
  }
}

# Print out any nyms we found to be using the remailer.
my ($r, $d);
if (@list) {
  print "Dead Remailer   ---- -- --------Nym--------\n";
  foreach (@list){
    ($r, $d) = split;
    print "$d       \tused by $r\n";
  }
}

#print Dumper(\@list) if @list;

exit;
Technical Details
Message-ID: <f8de2d6004237fdcbd3433a449ea2ced@erisiandiscord.de>
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!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!news2.euro.net!newsfeed.freenet.de!feed.news.nacamar.de!newsfeed.icl.net!newsfeed.fjserv.net!news.itconsult.net!news.dizum.com!sewer-output!mail2news

Show Full Headers
Complete Article Headers
Message-ID: <f8de2d6004237fdcbd3433a449ea2ced@erisiandiscord.de>
Subject: Find DEAD Remailers in use by your Nyms
Date: Mon, 28 Jul 2003 13:35:40 +0000
From: Anonymous <discord-nobody@erisiandiscord.de>
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!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!news2.euro.net!newsfeed.freenet.de!feed.news.nacamar.de!newsfeed.icl.net!newsfeed.fjserv.net!news.itconsult.net!news.dizum.com!sewer-output!mail2news
Comments: This message did not originate from the Sender address above.
 It was remailed automatically by anonymizing remailer software.
 Please report problems or inappropriate use to the
 remailer administrator at <discord-abuse@erisiandiscord.de>.
X-No-Archive: Yes
Newsgroups: alt.privacy.anon-server
Mail-To-News-Contact: abuse@dizum.com
Organization: mail2news@dizum.com
Lines: 211