Thread View: alt.privacy.anon-server
7 messages
7 total messages
Started by Peter Alfredsen
Thu, 04 Oct 2001 07:57
[Announce] Remail2news script
Author: Peter Alfredsen
Date: Thu, 04 Oct 2001 07:57
Date: Thu, 04 Oct 2001 07:57
210 lines
8396 bytes
8396 bytes
[Notice x-post and follow-up]
This is a script that will take you news messages and transfrom them
into mixmaster messages, sending them through the mixmaster network
and into usenet by mail2news gateways.
All script archives are free to include it into their collection.
Comments are as always welcome.
--- Begin Remail2News.hsc
#!hs2
#!load hamster.hsm
#!load hmessage.hsm
#(C) Peter Alfredsen (peteralf@fabel.dk
#This script can be modified as much as you want, and sent to others
#if you just send me a mail including your changes and why you think
#That they are a good idea.
#Notice that mixmaster remailer doesn't cope very well with lines over 80 characters,
#So you might want to use something like korrnews to fold your references header and
#keep the length of your lines to 80 (including quotes).
#This script requires Mixmaster 2.0.4b45
# Constants
var ( $newsoutpath )
$newsoutpath = Hampath + "groups\news.out\"
# Insert your own emailaddress here.
var( $youremail )
$youremail = ""
#Specify where mixmaster is installed
var( $mixmastpath )
$mixmastpath = "F:\MIX\"
#Insert your default remailerchain here.
#Identifying numbers can be had from running "mixmaste.exe",
#inserting a valid address and press enter 2 times.
var( $defaultremailer )
$defaultremailer = "32"
#Variables
var ( $messagelist )
var ( $messagenumber )
var ( $message )
var ( $m2nmess )
var ( $mixmastmsg )
var ( $mixmastto )
var ( $mixmastoutput )
var ( $mixmastinput )
var ( $numcopies )
var ( $counter )
var ( $remailers )
#Initialize
$messagelist = ListAlloc
$message = ListAlloc
$messagenumber = 0
if ( DirExists( Hampath + "tmp\" ) = 0 )
DirMake( Hampath + "tmp\" )
endif
if ( DirExists( $newsoutpath ) )
if ( ListFiles( $messagelist, $newsoutpath + "*.msg", true )>0 )
for( $messagenumber, 0, ListCount($messagelist)-1 )
if ( ListLoad( $message, ListGet( $messagelist, $messagenumber ) )=0 )
#Notice that from here until the next if, you can insert code to make modifications to your message.
#This is where the mixmaster code begins.
if ( Re_Match( MsgGetHeader( $message, "Newsgroups:" ), "(^|,)(bofh\.|tele\.|paradoxa\.|databasix\.|panix\.|altnet\.|airnews\.|supernews\.|usenetserver\.|easynews\.|giganews\.|spamcop\.|worldonline\.|cybercity\.|net\.|cn\.|claranet\.|hamster\.)" ) != true )
#If you want to exclude any hierarchies from mail2news, you need to edit the code above ^^^^^^.
#You can also make it inclusive by changin the end of it to " = true )"
#The code that has been commented out, is code that allows
#you to use ordinary remailers and/or mail2news gateways only.
#It will need a little tinkering to work.
# $m2nmess = "!MAIL FROM: <" + $youremail + ">" + chr(13) + chr(10) _
# + "!RCPT TO: <remailer@xganon.com>" + chr(13) + chr(10) _
# + "To: remailer@xganon.com" + chr(13) + chr(10) _
# + "From: " + $youremail + chr(13) + chr(10) _
# + chr(13) + chr(10) _
# + "::" + chr(13) + chr(10) _
# + "Request-Remailing-To: mail2news@dizum.com" + chr(13) + chr(10) _
# + chr(13) + chr(10) _
# + "##" + chr(13) + chr(10) _
# + ListGetText( $message )
# $m2nmess = "!MAIL FROM: <" + $youremail + ">" + chr(13) + chr(10) _
# + "!RCPT TO: <mail2news@nym.alias.net>" + chr(13) + chr(10) _
# + "!RCPT TO: <mail2news@freedom.gmsociety.org>" + chr(13) + chr(10) _
# + "!RCPT TO: <usenet-gateway@mixmaster.shinn.net>" + chr(13) + chr(10) _
# + "!RCPT TO: <mail2news@dizum.com>" + chr(13) + chr(10) _
# + "!RCPT TO: <" + $youremail + ">" + chr(13) + chr(10) _
# + ListGetText( $message )
#
#
# ListSetText( $message, $m2nmess )
#
# ListSave( $message, Hampath + "mails\mail.out\" + str( time ) + ".msg" )
$mixmastinput = Hampath + "\tmp\" + str( time-1000 ) + ".msg"
$mixmastoutput = Hampath + "mails\mail.out\" + str( time-60000 ) + ".msg"
$mixmastmsg = "To: mail2news@nym.alias.net, mail2news@dizum.com" + chr(13) + chr(10) _
+ "To: mail2news@freedom.gmsociety.org, " + $youremail + chr(13) + chr(10) _
+ ListGetText( $message )
ListSetText( $message, $mixmastmsg )
#Defines the number of copies of each individual message to send through a remailerchain. The
#longer and more insecure the chain gets, the more copies are needed to be sure to get through.
$numcopies = 3
#If you want to specify a specific chain of remailers, it can be done in the Summary header like this:
#12 25 1 25 6
if ( MsgGetHeader( $message, "Summary:" ) != "" )
if ( RE_Match( MsgGetHeader( $message, "Summary:" ), "^([0-9][0-9 ]+[0-9]|[0-9]{1,2})$" ) = 1 )
$remailers = MsgGetHeader( $message, "Summary:" )
MsgDelHeader( $message, "Summary:" )
else
$remailers = $defaultremailer
endif
else
$remailers = $defaultremailer
endif
ListSave( $message, $mixmastinput )
execute( "CMD.EXE /c type " + $mixmastinput + "| " + $mixmastpath + "mixmaste.exe stdin -m -n " + str( $numcopies ) + " -O " + $mixmastoutput + " -l " + $remailers, $mixmastpath )
#When choosing remailers:
#Segfault is fast, leaves from, removes message-id
#Frog2 is slow, leaves from, maintains message-id
for( $counter, 1, $numcopies )
ListLoad( $message, $mixmastoutput + "." + str( $counter ) )
$mixmastto = MsgGetHeader( $message, "To:" )
$mixmastmsg = "!MAIL FROM: <" + $youremail + ">" + chr(13) + chr(10) _
+ "!RCPT TO: <" + $mixmastto + ">" + chr(13) + chr(10) _
+ ListGetText( $message )
ListSetText( $message, $mixmastmsg )
FileDelete( $mixmastoutput + "." + str( $counter ) )
FileDelete( $mixmastinput )
ListSave( $message, replace( $mixmastoutput, ".msg", str( $counter ) + ".msg" ) )
endfor
FileDelete( ListGet( $messagelist, $messagenumber ) )
else
ListSave( $message, ListGet( $messagelist, $messagenumber ) )
else
Print ( "Problem Loading message from disk" )
endif
endfor
else
Print ( "No messages in " + $newsoutpath )
endif
else
Print ( $newsoutpath + " Doesn't Exist" )
endif
ListFree ( $messagelist )
ListFree ( $message )
--- End Remail2News.hsc
--
Peter Alfredsen (peteralf@fabel.dk)
"You fuck with America, now you get what you wanted you freaking communist.
Call me terrorist, whatever. I'm an American soldier, and I'm comming to
get you!"
Re: [Announce] Remail2news script
Author: Stefan Wagner
Date: Thu, 04 Oct 2001 16:21
Date: Thu, 04 Oct 2001 16:21
27 lines
2096 bytes
2096 bytes
Hi,
Peter Alfredsen
<20011004095725.hamster.en.scripts-alt.privacy.anon-server@peteralf.clar
a.co.uk> schrieb:
> [Notice x-post and follow-up]
> This is a script that will take you news messages and transfrom them
> into mixmaster messages, sending them through the mixmaster network
> and into usenet by mail2news gateways.
> Comments are as always welcome.
> execute( "CMD.EXE /c type " + $mixmastinput + "| " +
This doesn�t work under Win9x, command.com would be better, but replacing
cmd.exe whith command.com doesn�t work too.
Ciao!
Stefan
No F�up set.
--
Ultimate office automation: networked coffee machines.
><> http://www.trumpkin.Narnias-Door.com
PGP vorhanden � 2001 by Stefan Wagner
Re: [Announce] Remail2news script
Author: Peter Alfredsen
Date: Thu, 04 Oct 2001 17:04
Date: Thu, 04 Oct 2001 17:04
29 lines
2273 bytes
2273 bytes
On 4 Oct 2001 16:21:38 GMT, Stefan Wagner <habakuk@gmx.net> wrote: >Hi, > >Peter Alfredsen ><20011004095725.hamster.en.scripts-alt.privacy.anon-server@peteralf.clar >a.co.uk> schrieb: > >> [Notice x-post and follow-up] >> This is a script that will take you news messages and transfrom them >> into mixmaster messages, sending them through the mixmaster network >> and into usenet by mail2news gateways. > >> Comments are as always welcome. > >> execute( "CMD.EXE /c type " + $mixmastinput + "| " + > >This doesn�t work under Win9x, command.com would be better, but replacing >cmd.exe whith command.com doesn�t work too. Try completely removing cmd.exe /c - I don't really know whether it is needed, but it makes it possible to keep the window hidden under win2000. -- Peter Alfredsen (peteralf@fabel.dk) "Yeah really, if someone is going to pick a fight on internet, THIS is no place to expect to win it. Too bad the shattered corpses of the past don't stack up for such losers to see." -- Quaestor in NANAE
Re: [Announce] Remail2news script
Author: Peter Alfredsen
Date: Thu, 04 Oct 2001 23:53
Date: Thu, 04 Oct 2001 23:53
52 lines
2748 bytes
2748 bytes
<a968e71d387c55d30fe9375e3a1151c3@rilian.narnias-door.com>
<e1a16167478dd7bf0a50bc9310d69238.3175251387.2001$10$4$19$4$53@peter.alfredsen.dq>
Message-ID: <8923f71ff031381ed1f9df77993b86f5.1840752606.2001$10$5$1$53$23@peter.alfredsen.dq>
MIME-Version: 1.0
Content-Type: text/plain;
charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Meow: meow
X-Face: GM.c`t/E8??hV>e]2O0r'rR-?,^PsD8ZT^Cka9:=kzr~p#_f')D[Z3gaK3?jj`U^
YxX"QUCqSw]Yj0P5<Ggi'xi#S+9e87Rfr^|46"VY=#V>-{AR'Q#3>0MTo~
_.C<u:{)f"[tT%0{V=3[Y97|XXz,o
On Thu, 04 Oct 2001 19:04:51 +0200, Peter Alfredsen
<20011004190451.hamster.en.scripts-alt.privacy.anon-server@peteralf.clara.co.uk>
wrote:
>On 4 Oct 2001 16:21:38 GMT, Stefan Wagner <habakuk@gmx.net> wrote:
>
>>Hi,
>>
>>Peter Alfredsen
>><20011004095725.hamster.en.scripts-alt.privacy.anon-server@peteralf.clar
>>a.co.uk> schrieb:
>>
>>> [Notice x-post and follow-up]
>>> This is a script that will take you news messages and transfrom them
>>> into mixmaster messages, sending them through the mixmaster network
>>> and into usenet by mail2news gateways.
>>
>>> Comments are as always welcome.
>>
>>> execute( "CMD.EXE /c type " + $mixmastinput + "| " +
>>
>>This doesn�t work under Win9x, command.com would be better, but replacing
>>cmd.exe whith command.com doesn�t work too.
>
>Try completely removing cmd.exe /c - I don't really know whether it is
>needed, but it makes it possible to keep the window hidden under
>win2000.
I have found some bugs, which I think I have fixed, but until further
notice, I would like everybody to consider this script buggy.
Anyone on win95/98 who has gotten this to "work", might want to post the
patches.
--
Peter Alfredsen (peteralf@fabel.dk)
"A little voice in my head keeps saying "the draft is on crack, wait
for digsigs and use a secondary ID namespace," then it says "eat
more bacon."" -- Meowbot
Re: [Announce] Remail2news script
Author: Anonymous
Date: Fri, 05 Oct 2001 01:18
Date: Fri, 05 Oct 2001 01:18
105 lines
3453 bytes
3453 bytes
Just curious. Exactly what niche does your script fill?
In article <trptkjsi01tpdb@news.supernews.com>
Peter Alfredsen
<20011005015321.hamster.en.scripts-alt.privacy.anon-
server@peteralf.clara.co.uk> wrote:
>
> <a968e71d387c55d30fe9375e3a1151c3@rilian.narnias-door.com>
>
> <e1a16167478dd7bf0a50bc9310d69238.3175251387.2001$10$4$19$4$53@peter.alfredsen.dq>
> Message-ID: <8923f71ff031381ed1f9df77993b86f5.1840752606.2001$10$5$1$53$23@peter.alfredsen.dq>
> MIME-Version: 1.0
> Content-Type: text/plain;
>
> charset=ISO-8859-1
> Content-Transfer-Encoding: 8bit
> X-Meow: meow
> X-Face: GM.c`t/E8??hV>e]2O0r'rR-?,^PsD8ZT^Cka9:=kzr~p#_f')D[Z3gaK3?jj`U^
> YxX"QUCqSw]Yj0P5<Ggi'xi#S+9e87Rfr^|46"VY=#V>-{AR'Q#3>0MTo~
> _.C<u:{)f"[tT%0{V=3[Y97|XXz,o
>
> On Thu, 04 Oct 2001 19:04:51 +0200, Peter Alfredsen
> <20011004190451.hamster.en.scripts-alt.privacy.anon-server@peteralf.clara.co.uk>
> wrote:
>
> >On 4 Oct 2001 16:21:38 GMT, Stefan Wagner <habakuk@gmx.net> wrote:
> >
> >>Hi,
> >>
> >>Peter Alfredsen
> >><20011004095725.hamster.en.scripts-alt.privacy.anon-server@peteralf.clar
> >>a.co.uk> schrieb:
> >>
> >>> [Notice x-post and follow-up]
> >>> This is a script that will take you news messages and transfrom them
> >>> into mixmaster messages, sending them through the mixmaster network
> >>> and into usenet by mail2news gateways.
> >>
> >>> Comments are as always welcome.
> >>
> >>> execute( "CMD.EXE /c type " + $mixmastinput + "| " +
> >>
> >>This doesn�t work under Win9x, command.com would be better, but replacing
> >>cmd.exe whith command.com doesn�t work too.
> >
> >Try completely removing cmd.exe /c - I don't really know whether it is
> >needed, but it makes it possible to keep the window hidden under
> >win2000.
>
> I have found some bugs, which I think I have fixed, but until further
> notice, I would like everybody to consider this script buggy.
> Anyone on win95/98 who has gotten this to "work", might want to post the
> patches.
> --
> Peter Alfredsen (peteralf@fabel.dk)
> "A little voice in my head keeps saying "the draft is on crack, wait
> for digsigs and use a secondary ID namespace," then it says "eat
> more bacon."" -- Meowbot
Re: [Announce] Remail2news script
Author: Peter Alfredsen
Date: Fri, 05 Oct 2001 08:17
Date: Fri, 05 Oct 2001 08:17
55 lines
3283 bytes
3283 bytes
On Fri, 05 Oct 2001 01:53:21 +0200, Peter Alfredsen
<20011005015321.hamster.en.scripts-alt.privacy.anon-server@peteralf.clara.co.uk>
wrote:
> <a968e71d387c55d30fe9375e3a1151c3@rilian.narnias-door.com>
>
> <e1a16167478dd7bf0a50bc9310d69238.3175251387.2001$10$4$19$4$53@peter.alfredsen.dq>
>Message-ID: <8923f71ff031381ed1f9df77993b86f5.1840752606.2001$10$5$1$53$23@peter.alfredsen.dq>
>MIME-Version: 1.0
>Content-Type: text/plain;
>
> charset=ISO-8859-1
>Content-Transfer-Encoding: 8bit
>X-Meow: meow
>X-Face: GM.c`t/E8??hV>e]2O0r'rR-?,^PsD8ZT^Cka9:=kzr~p#_f')D[Z3gaK3?jj`U^
> YxX"QUCqSw]Yj0P5<Ggi'xi#S+9e87Rfr^|46"VY=#V>-{AR'Q#3>0MTo~
> _.C<u:{)f"[tT%0{V=3[Y97|XXz,o
>
>On Thu, 04 Oct 2001 19:04:51 +0200, Peter Alfredsen
><20011004190451.hamster.en.scripts-alt.privacy.anon-server@peteralf.clara.co.uk>
>wrote:
>
>>On 4 Oct 2001 16:21:38 GMT, Stefan Wagner <habakuk@gmx.net> wrote:
>>
>>>Hi,
>>>
>>>Peter Alfredsen
>>><20011004095725.hamster.en.scripts-alt.privacy.anon-server@peteralf.clar
>>>a.co.uk> schrieb:
>>>
>>>> [Notice x-post and follow-up]
>>>> This is a script that will take you news messages and transfrom them
>>>> into mixmaster messages, sending them through the mixmaster network
>>>> and into usenet by mail2news gateways.
>>>
>>>> Comments are as always welcome.
>>>
>>>> execute( "CMD.EXE /c type " + $mixmastinput + "| " +
>>>
>>>This doesn�t work under Win9x, command.com would be better, but replacing
>>>cmd.exe whith command.com doesn�t work too.
>>
>>Try completely removing cmd.exe /c - I don't really know whether it is
>>needed, but it makes it possible to keep the window hidden under
>>win2000.
>
>I have found some bugs, which I think I have fixed, but until further
>notice, I would like everybody to consider this script buggy.
>Anyone on win95/98 who has gotten this to "work", might want to post the
>patches.
--
Peter Alfredsen (peteralf@fabel.dk)
"FLASH! MICROSOFT INTRODUCES THE MAGIC SUBJECT STRIPPER!!! NOW THE PREFIX
`ADSL: ' BECOMES THE `Sv: ' OF 2001!!!" -- Unmedicated Pedophile
Re: [Announce] Remail2news script
Author: Peter Alfredsen
Date: Fri, 05 Oct 2001 08:17
Date: Fri, 05 Oct 2001 08:17
12 lines
1470 bytes
1470 bytes
On 5 Oct 2001 01:18:13 -0000, Anonymous <Use-Author-Supplied-Address-Header@[127.1]> wrote: >Just curious. Exactly what niche does your script fill? The one of people who want to be anonymous, wants to use whatever newsreader they have always used. -- Peter Alfredsen (peteralf@fabel.dk) "Ability to type on a computer terminal is no guarantee of sanity, intelligence, or common sense." -- Gene Spafford
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads