Article View: news.software.readers
Article #222092Re: [Dialog] Cracking Richard
From: Bernd Rose
Date: Fri, 13 Jun 2008 19:55
Date: Fri, 13 Jun 2008 19:55
55 lines
3634 bytes
3634 bytes
On Thu, 12 Jun 2008 23:04:52 -0500, Ron Ford wrote: > Oliver has recently published a ruby script that works well for Dialog > users interested in archiving messages. [...] > I've already gone and changed his script. [...] > I haven't succeeded yet and wanted to discuss my premises. > > 1) Dialog keeps the bodies of the posts from a given ng in n.dat where n > is a positive integer. Not the bodies, but some basic information, like threading, size, multipart information. > For me, comp.lang.fortran is 54672. I'm curious whether other NIN dialog > users have the same condition. A better comparison is what integer > corresponds to n.s.r., which for me, on NIN, is 96950. Only the system groups (like Sent) have fixed numbers. All other will vary between installations. You can link groups.idg and groups.stg if you need to get the relation programmatically. Else you just need to open the "Selected group/article info..." window (Shift+Ctrl+Settings menu -> the hidden menu entry becomes visible) for a given group. That window shows the number as "Key" under "Selected GROUP INFO". > 2) There are four files that keep data on a given newsgroup: n.dat, n.idx, > n.msd, n.ind . There are more. Some of them are only temporarily created while the group is accessed. Others depend on specific messages (like multiparts) to get relevant. And don't forget the msg*.dat files, which contain the bodies! ;-) > 3) A hex editor indicates quite different characteristics in 54672.dat as > opposed to msg*.dat, in particular the former does not use hex 7F as a > separator, i.e. DEL. Not comparable. The msg*.dat files contain *all* raw messages of all groups and folders (including mail). The *.dat files [* stands for numbers, only], OTOH, carry just management information (see above). > 5) I'll be able to find this in the encoding: > Richard Maine | Good judgement comes from experience; > email: last name at domain . net | experience comes from bad judgement. > domain: summertriangle | -- Mark Twain You can only find this inside the msg*.dat files. And if you're sure that no message of Richard carries a 0x7F, you may extract all text containing your search string(s) between start of file *or* 0x7F and the next 0x7F byte. (You don't need to look for EOF, because any msg*.dat has a 0x7F as last byte.) HTH. Bernd
Technical Details
Message-ID:
<1n5m5cak1rimq$.dlg@b.rose.tmpbox.news.arcor.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mailReferences:
<uanmp8cyck7t$.mxpi34a897nf$.dlg@40tude.net>Show Full Headers
Complete Article Headers
Message-ID: <1n5m5cak1rimq$.dlg@b.rose.tmpbox.news.arcor.de> Subject: Re: [Dialog] Cracking Richard Date: Fri, 13 Jun 2008 21:55:23 +0200 From: Bernd Rose <b.rose.tmpbox@expires-2008-06-30.arcornews.de> References: <uanmp8cyck7t$.mxpi34a897nf$.dlg@40tude.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Newsgroups: news.software.readers User-Agent: 40tude_Dialog/2.0.15.41 (4f78a616.116.429) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Lines: 55 Organization: Arcor NNTP-Posting-Date: 13 Jun 2008 21:55:25 CEST NNTP-Posting-Host: f5576d1f.newsspool4.arcor-online.net X-Trace: DXC=nIWE`iZEHiNX36K@\WTHGJ4IUK<Cl32<A4Fo<]lROoRAFl8W>\BH3YB5oeD60UaPXLQNkb2^RT\kB; PHWhCF8D^KK\LK@`2^8EO X-Complaints-To: usenet-abuse@arcor.de