🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: javascript code for replying

#214498
From: Nomen Nescio
Date: Mon, 19 Feb 2007 06:30
239 lines
8451 bytes
Anonyma wrote:

If anyone actually uses this they're a fool. Your pasting ALL your
headers into a web form and they're being submitted to the site so even
if you use TOR you're not anonymous.



> -----BEGIN PGP SIGNED MESSAGE-----
> 
> Maybe this attempt will finally get through. I saw somebody coin the
> phrase "wait-and-pray". That's highly appropriate. I have also
> repeatedly sent other posts which have not shown up after several
> hours, with only two hops.
> 
> 
> 
> 
> =========================================
> 
> <HTML>
> <HEAD><TITLE>Practical-Anon - Parse with JavaScript then Post through
> Eelbash</TITLE>
> 
> <script>
> 
> /*  
>     RegExp is used because:
>     eol for FF is \n
>     eol for dreaded IE is \r\n
>     
>     /i makes the RegExp match case insensitive.
> */
> 
> var eol = /\n|\r\n/;
> var eol2 = /\n\n|\r\n\r\n/;
> 
> var $From = "From: ";
> var $MessageID;
> var $Subject = "Subject: ";
> var $Date = "Date: ";
> var $Newsgroups = "Newsgroups: ";
> var $MessageID = "Message-ID: ";
> 
> var $who = "somebody";
> var $date = "some day";
> 
> function parse(post_input) {
>     s = post_input.value;
>     
>     s_array = s.split(eol2, 1);           // get the headers as a
> string header_array = s_array[0].split(eol); // get an array of the
> headers 
>     $body = s.substring(s_array[0].length, s.length); // get the body
> as a string
>     body_array = $body.split(eol); // get the body as an array of
> lines (for quoting)
>     $msg = "\r\n"; // can I get the platform EOL to use here?
>     for (var i = 0; i < body_array.length; i++) {
>         $msg += "> " + body_array[i] + "\r\n";
>     }
>     
>     // alert(s.length + " " + header_array.length + "\n" +
> s_array[0]); // uncomment the above to view the header lines
> 
>     var ss = "";
>     for (var i = 0; i < header_array.length; i++) {
>         $insense = header_array[i].toLowerCase(); // for case
> insensitive comparison
>         if (header_array[i].indexOf($From) == 0) {
>             ss = header_array[i];
>             ss = ss.substring($From.length, ss.length);
>             $who = ss;
>         }
>         if ($insense.indexOf($MessageID) == 0) { // only test that is
> case insensitive
>             ss = header_array[i];
>             ss = ss.substring($MessageID.length, ss.length);
>             document.anon.refs.value = ss;
>         }
>         if (header_array[i].indexOf($Subject) == 0) {
>             ss = header_array[i];
>             ss = ss.substring($Subject.length, ss.length);
>             if (ss.indexOf("Re: ") != 0) {
>                 ss = "Re: " + ss;
>             }
>             document.anon.subject.value = ss;
>         }
>         if (header_array[i].indexOf($Date) == 0) {
>             ss = header_array[i];
>             ss = ss.substring($Date.length, ss.length);
>             $date = ss;
>         }
>         if (header_array[i].indexOf($Newsgroups) == 0) {
>             ss = header_array[i];
>             ss = ss.substring($Newsgroups.length, ss.length);
>             document.anon.tofield.value = ss;
>         }
>     }
>     quoted = "On " + $date + "\r\n";
>     quoted += $who + " wrote:\r\n";
>     quoted += $msg;
>     document.anon.message.value = quoted;
>     document.anon.fromfield.focus(); 
>     // the above line positions you for easy inspection of the data
>     // but you can change it to--> document.anon.message.focus();
>     // to put the focus in the message textarea
>     // etc.
> }
> 
> function onload() {
>     document.anon.post_input.focus();
>     $MessageID  = new String("Message-ID: ".toLowerCase());
> }
> 
> </script>
> </HEAD>
> 
> <BODY bgcolor="#FFFFFF">
> <font face="Arial, Helvetica, sans-serif"><b><font size="-1">The data
> in the table 
> below is what will be posted to Eelbash's W2N. <font size="+1"
> color="#804040">USE 
> TOR!!!</font></font></b></font> 
> <P>
> 
> <!-- need to place three more INPUT fields to match Eel's input
> pattern: login server -->
> <FORM NAME="anon"
> ACTION="http://eelbash.yi.org:8080/scriptes/remail.php" METHOD="POST"
> > <table width="11%" border="0" cellspacing="7" cellpadding="7"
> bgcolor="#AAFFFF">
>     <tr>
>       <td>
>         <table width="18%" border="0" cellspacing="4" cellpadding="4"
> bgcolor="#33FFFF" >
>           <tr> 
>             <td width="4%"> 
>               <div align="right"><b>From:</b> </div>
>             </td>
>             <td width="96%"> <font color="#CCCCCC"> 
>               <!-- edit the value attribute below, to show your own
> posting ID -->
>               <input type=text size=50 name="fromfield"
> value="Practical-Anon <Practical-Anon@here.there>">
>               </font></td>
>           </tr>
>           <tr> 
>             <td width="4%"> 
>               <div align="right"><b>Subject:</b></div>
>             </td>
>             <td width="96%"><font color="#CCCCCC"> 
>               <input type=text size=50 name="subject">
>               </font></td>
>           </tr>
>           <tr> 
>             <td width="4%"> 
>               <div align="right"><b>Newsgroups:</b>:</div>
>             </td>
>             <td width="96%"> <font color="#CCCCCC"> 
>               <input type=text size=72 maxlength=72 name="tofield">
>               </font></td>
>           </tr>
>           <tr> 
>             <td width="4%"> 
>               <div align="right"><b>Latency: </b> </div>
>             </td>
>             <td width="96%"> <font color="#CCCCCC"> 
>               <input type=text size=2 name="latency" value="0">
>               </font></td>
>           </tr>
>           <tr> 
>             <td width="4%"> 
>               <div align="right"><b>References:</b></div>
>             </td>
>             <td width="96%"> <font color="#CCCCCC"> 
>               <input type=text size=88 name="refs">
>               </font></td>
>           </tr>
>           <tr> 
>             <td>&nbsp;</td>
>           </tr>
>         </table>
>       </td>
>     </tr>
>     <tr>
>       <td>
>         <p>
>           <textarea name="message" rows=15 cols=90 >
>         </textarea>
>         </p>
>         <p>
>           <input value="Submit" name="submit" type="submit">
>           <input type=reset name="reset">
>         </p>
>       </td>
>     </tr>
>   </table>
>   <p>&nbsp; </p>
>   <hr>
>   <p>&nbsp; 
>   <p><b><font face="Arial, Helvetica, sans-serif" size="-1">Paste the
> complete 
>     post that you want to reply to, <i>with full headers</i>,
> below.</font> </b><br>
>     <br>
>   
>   <table width="11%" border="0" cellspacing="7" cellpadding="7"
> bgcolor="#FFFFDD">
>     <tr>
>       <td><br>
>         <textarea name="post_input" rows=9 cols=90 />
> </textarea>
>       </td>
>     </tr>
>     <tr>
>       <td>
>         <input type="button" name="parse_button" value="Parse the
> Reply Fields" onClick="parse(this.form.post_input)">
>         <br>
>       </td>
>     </tr>
>   </table>
>   <p><BR>
> </FORM>
> </BODY>
> </HTML>
> 
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: N/A
> 
> iQA/AwUBRdkCno3GWrfOMwGjEQJD2gCgw2tDTm+oR2mrWvF5NpqOk5WTuvoAoNl1
> QvIlyH4OQWETEsU4LUyNJi/d
> =l6Ul
> -----END PGP SIGNATURE-----
> 
Technical Details
Message-ID: <7fb850fc0986ef1155ffbb904694326c@dizum.com>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news2.euro.net!newsgate.cistron.nl!xs4all!news.wiretrip.org!news.bananasplit.info!mail2news.mixmin.net
References: <e9119dbccc3f5fe5ac3a79e6b553ca97@deuxpi.ca>

Show Full Headers
Complete Article Headers
Message-ID: <7fb850fc0986ef1155ffbb904694326c@dizum.com>
Subject: Re: javascript code for replying
Date: Mon, 19 Feb 2007 06:30:40 +0000
From: Nomen Nescio <nobody@dizum.com>
References: <e9119dbccc3f5fe5ac3a79e6b553ca97@deuxpi.ca>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news2.euro.net!newsgate.cistron.nl!xs4all!news.wiretrip.org!news.bananasplit.info!mail2news.mixmin.net
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 <abuse@dizum.com>.
Newsgroups: alt.privacy.anon-server
X-Abuse-Contact: abuse@bananasplit.info
Lines: 239