🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How-to create a nym at mixmin.net with Thunderbird

#254658
From: xvdcdvnhyn
Date: Sun, 26 Feb 2012 14:40
52 lines
2630 bytes
Anonymous wrote:

> In article <20120225124014.22C3F2FD5@remailer.paranoici.org>
> xvdcdvnhyn <xvdcdvnhyn@nymph.paranoici.org> wrote:
>>
>> Or should I just post the code I use so anyone interested can do their
>> own testing?
> 
> Posting code is always a good thing too.


Ruby code:


def analyze(shellglob)
    # analyze("127???")
    # analyze("12???0")
  data = Dir[shellglob].map {|id|
    [ get_from(id), get_cipher(id) ] }
  data.uniq.map {|combination|
    [ data.count(combination), combination ]
  }.sort_by {|cnt, cmb| -cnt }.each {|row| p row }
  nil
end
def get_from(id)
  if from = (File.readlines(id).find {|line|
      line =~ /^From:.*<(.*)>/ } and $1)
    from.chomp.sub(/spamexpire-\d+\./, '') # frell's nospam
  else
    $stderr.puts "can't get from address for #{id}"
  end
end
def get_cipher(id)
  output = IO.popen("gpg --batch - 2>&1", "r+") do |io|
    io.write(File.read(id))
    io.close_write
    io.read
  end
  case output
  when /IDEA/; :idea
  when /3DES/; :"3des"
  when /AES256/; :aes256
  when /CAST5/; :cast5
  when /encrypted with RSA key, ID 00000000/; :rsa_hidden
  when /encrypted with RSA key, ID \w+/; :rsa_known
  when /encrypted with 4096-bit RSA key, ID 00000000/; :rsa_4096_hidden
  when /encrypted with 4096-bit RSA key, ID \w+/; :rsa_4096_known
  else
    $stderr.puts "can't get cipher for #{id}"
  end
end
Technical Details
Message-ID: <20120226144028.595E53202@remailer.paranoici.org>
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.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!mail2news.mixmin.net!not-for-mail
References: <3LUWF6W240961.0908796296@reece.net.au> <20120222144025.E9F823041@remailer.paranoici.org> <slrnjka7cn.cnp.admin@news.mixmin.net> <20120222212413.8AED730F3@remailer.paranoici.org> <e34df46f3506b2c5b3d1806c1e7a9e00@ecn.org> <20120225124014.22C3F2FD5@remailer.paranoici.org> <3b14804d57395beb6addfb7848224479@ecn.org>

Show Full Headers
Complete Article Headers
Message-ID: <20120226144028.595E53202@remailer.paranoici.org>
Subject: Re: How-to create a nym at mixmin.net with Thunderbird
Date: Sun, 26 Feb 2012 14:40:28 +0000
From: xvdcdvnhyn <xvdcdvnhyn@nymph.paranoici.org>
References: <3LUWF6W240961.0908796296@reece.net.au> <20120222144025.E9F823041@remailer.paranoici.org> <slrnjka7cn.cnp.admin@news.mixmin.net> <20120222212413.8AED730F3@remailer.paranoici.org> <e34df46f3506b2c5b3d1806c1e7a9e00@ecn.org> <20120225124014.22C3F2FD5@remailer.paranoici.org> <3b14804d57395beb6addfb7848224479@ecn.org>
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.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!mail2news.mixmin.net!not-for-mail
X-Nym-Disclaimer: This message was sent anonymously through
 the nymph.paranoici.org Nymserver. Please report abuse to
 postmaster@nymph.paranoici.org
Newsgroups: alt.privacy.anon-server
Lines: 53
Injection-Info: mail2news.mixmin.net; mail-complaints-to=abuse@mixmin.net