Article View: alt.privacy.anon-server
Article #255117Re: Using Thunderbird to find hsub
From: Kulin
Date: Mon, 12 Mar 2012 18:36
Date: Mon, 12 Mar 2012 18:36
140 lines
5361 bytes
5361 bytes
In article <81402QOY40980.236400463@reece.net.au>
Rooster <remailer@reece.net.au> wrote:
>
[snip]
Rooster, bless your heart! You will have to forgive me for saying so, but
you need to make a short version of this instruction. Let's see if I can
help.
If we have Thunderbird to look at the messages in "alt.anonymous.messages"
and we have the add-on called ImportExportTools, it is a simple matter to
find the hsub.
1. Open the newsgroup and select the group of messages you want to search
through.
2. Right-click for the context menu and choose Save Selected Messages to
CSV index file.
3. Browse to the folder where you want to save it and click OK.
4. Now your index.csv file is ready and you just put the password file
named "hsubpw" into the same folder, along with your batch file below.
5. Open the Windows command shell to that directory and run the batch
script.
6. That's it. No questions to answer. When it's finished, it gives you a
results.log to show if any of the message subjects matched your hsub.
I think one of the nicest parts of it is that any method can be used to
retrieve the messages or to make the CSV file. Once we do that, we can use
the batch file. It really is a simple matter to get the other two open-
source programs your batch file uses, since you provided the links to them
in your message. Presto. Rooster, I know you like to be thorough, but
sometimes you make things sound more complicated than it really is. :)
> Here is an example of what a standard CSV file might look like:
>
> "1afc723efde290bcfb96caeeb9066408fa201f3e24a1cce8","Anonymous <nobody@mixmin.net>","alt.anonymous.messages",2/21/2012 2:30, ,
> "1d3f2d72dd418681b9c014485c7ff00497348676a3b4434d","Anonymous <nobody@mixmin.net>","alt.anonymous.messages",2/21/2012 2:48, ,
> "1daa636a28e1b88d877bcf607ec8cc25d205f86de019a9ca","Anonymous <nobody@mixmin.net>","alt.anonymous.messages",2/21/2012 3:58, ,
>
>
> Here now is the revised script for Rooster's hsub finding procedure. Just copy and save it as
> a text file and named "Rooster2.bat" Feel free to ask any questions you may have. muchas
> gracias.
>
> - -----------------------------Rooster(2.2).bat-------------------------------
>
> @echo off
> echo.
> echo Beginning Rooster's hsub (2.2) searching procedure.
> echo.
> echo.
>
> if not exist hsubpw (
> echo: There is no password file named hsubpw. Aborting procedure.
> goto EOF
> )
>
> echo.
> echo Creating file names from index...
> echo.
>
> setlocal enabledelayedexpansion
> for /F "delims=," %%I in (index.csv) do echo:%%I>>filenames
> for /F "" %%J in (filenames) do (
> set name=%%J
> echo !name:~1,-1!>>noquotes
> )
> move /y noquotes filenames
>
> for /f "tokens=*" %%M in (filenames) do (
> (echo %%M|find " ">>spaces)||(echo %%M>>nospace)
> )
> move /y nospace filenames
>
> for %%g in (^& ^< ^> ^| ^^ ^( ^)) do @echo:%%g>>badstuff
> findstr /v /g:badstuff filenames >noprob
> move /y noprob filenames
>
> echo.
> echo Removing bad file names...
> echo.
>
> FOR /F "" %%K in (filenames) do (
> set z=%%K
> echo !z:~0,16!>>hex16list
> )
>
> rem: creating temporary binary file from 8 bytes of hex
> echo Generating binary data from hsubs...
> echo.
> setlocal
> for /f "" %%X in (hex16list) do (
> echo %%X|c:\cygwin\bin\xxd.exe -r -p - randnum-out
> for /f "tokens=*" %%P in ('type hsubpw') do call:sub3 "%%P"
> )
> goto jump3
>
> rem:concatenating passwords to end of ascii code in temp file; and making sha256 hash
> :sub3
> echo Creating hash digest. This can take a while depending on number of files...
> echo.
> copy randnum-out combined >nul
> <nul set/p z2=%1>>combined
> java -jar c:\progra~1\jacksum\jacksum.jar -a sha256 -g 16 -O outfile -F #CHECKSUM combined
> for /f "" %%R in (outfile) do echo %%R>>hex32list
> goto:eof
>
> :jump3
>
> for /f "" %%S in (hex32list) do (
> find "%%S" < filenames >>result.log
> )
>
> echo.
> echo Cleaning up...
> erase /f/q hex16list randnum-out hex32list
> erase /f/q outfile badstuff noprob spaces
> type nul>hsubpw
> type nul>combined
> erase /f/q hsubpw combined
> echo.
> echo.
> echo Finished processing. Check the result.log for any matches.
> echo.
> :EOF
> - ------------------------------------------------------------------
> rooster@thechickencoop.net
Technical Details
Message-ID:
<E72FV86S40981.1084259259@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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!news.mixmin.net!eweka.nl!hq-usenetpeers.eweka.nl!188.40.76.149.MISMATCH!mail2news.mixmin.net!not-for-mailReferences:
<81402QOY40980.236400463@reece.net.au>Show Full Headers
Complete Article Headers
Message-ID: <E72FV86S40981.1084259259@reece.net.au> Subject: Re: Using Thunderbird to find hsub Date: Mon, 12 Mar 2012 18:36:08 +0000 From: Kulin <remailer@reece.net.au> References: <81402QOY40980.236400463@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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!news.mixmin.net!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: 141 Injection-Info: mail2news.mixmin.net; mail-complaints-to=abuse@mixmin.net