Why....
Ref_Cnf.txt
That is just documentation.
But it was tidy and helpful, so let us keep it that way and let us warm up.
"Make Stats" are part 8 of the configuration, so we look for existing:
(Search for leading "Make Stats")
' 8 ' Make Stats ' ' 0 Ping Date Resolution ' 1 FTP Remote Port ' 2 FTP Password ' 3 *FTP Server ' 4 *FTP UserName ' 5 FTP Directory ' 6 *FTP Minimum Time Between (M) ' 7 *Ping Time Minimum (H) ' 8 *Ping Response Address ' 9 *Ping CPunk ' 10 *Ping Mix ' 11 *Ping CPunk Chains ' 12 History Style ' 13 Plain Line Endings ' 14 Title ' 15 Local File V1 Plain CPunk ' 16 Local File V1 Plain Mix ' 17 Local File V1 HTML CPunk ' 18 Local File V1 HTML Mix ' 19 Local File V2 Plain CPunk ' 20 Local File V2 Plain Mix ' 21 Local File V2 HTML CPunk ' 22 Local File V2 HTML Mix ' 23 Local File Plain Chain ' 24 Local File HTML Chain ' 25 Local Header File Plain ' 26 Local Trailer File HTML ' 27 Local Machine Info File ' |
We just need to add a 28th element to the array:
' 28 Z-My HTML-Hack |
Which gives:
' 8 ' Make Stats ' ' 0 Ping Date Resolution ' 1 FTP Remote Port ' 2 FTP Password ' 3 *FTP Server ' 4 *FTP UserName ' 5 FTP Directory ' 6 *FTP Minimum Time Between (M) ' 7 *Ping Time Minimum (H) ' 8 *Ping Response Address ' 9 *Ping CPunk ' 10 *Ping Mix ' 11 *Ping CPunk Chains ' 12 History Style ' 13 Plain Line Endings ' 14 Title ' 15 Local File V1 Plain CPunk ' 16 Local File V1 Plain Mix ' 17 Local File V1 HTML CPunk ' 18 Local File V1 HTML Mix ' 19 Local File V2 Plain CPunk ' 20 Local File V2 Plain Mix ' 21 Local File V2 HTML CPunk ' 22 Local File V2 HTML Mix ' 23 Local File Plain Chain ' 24 Local File HTML Chain ' 25 Local Header File Plain ' 26 Local Trailer File HTML ' 27 Local Machine Info File ' 28 Z-My HTML-Hack |
LangConf.dat
That is getting more serious.
With that modification, we are going to get prompted with the possibility to insert our
data in the configuration file.
We look for the existing:
(Search for following "---FIL")
Stats Trailer File HTML An HTML file containing additional information and links which will be appended to the HTML stats files. (Optional)\\Note: This file must use MS-DOS (CRLF) line endings. Do not include <HTML> or <BODY> tags. %T% Stats Machine Info File This plain text file will be inserted in the machine-readable portion of stats, and is intended to contain machine and chain information in the standard format. (Optional)\\See Operator's manual for correct formatting.\\Example: c:\Reliable\Mail\Stats\machine.txt %T% ---FIL 9 Files Remailer Capabilities This list is used to store remailer capability strings. List all Cypherpunk and Mixmaster remailers. This list is auto-refreshed if Stats|Refresh Remailer Capabilities is True. All keys must be on your PGP keyring. |
We just need to add our new 28th item's title, help and prompt guide:
Stats Z-My HTML Hack This thing will be inserted in your HTML stats to enhance its looks. Be sure to have <BODY> in it. %T% |
Which gives:
Stats Trailer File HTML An HTML file containing additional information and links which will be appended to the HTML stats files. (Optional)\\Note: This file must use MS-DOS (CRLF) line endings. Do not include <HTML> or <BODY> tags. %T% Stats Machine Info File This plain text file will be inserted in the machine-readable portion of stats, and is intended to contain machine and chain information in the standard format. (Optional)\\See Operator's manual for correct formatting.\\Example: c:\Reliable\Mail\Stats\machine.txt %T% Stats Z-My HTML Hack This thing will be inserted in your HTML stats to enhance its looks. Be sure to have <BODY> in it. %T% ---FIL 9 Files Remailer Capabilities This list is used to store remailer capability strings. List all Cypherpunk and Mixmaster remailers. This list is auto-refreshed if Stats|Refresh Remailer Capabilities is True. All keys must be on your PGP keyring. |
Stats.bas
That is the VB5 module where the auto-generated .html stats are being printed.
We have to hunt for the <BODY> statements and replace them with our brand new Cnf(8,
28)
There are two such places.
One for the CPunk/Mixmaster V1/V2 stats:
(Search for neighbouring "<TITLE>Cypherpunk
Remailers")
'Write Header If frmt = 1 Then Print #n, "<HTML>" Print #n, "<!-- Auto-Generated by Reliable v"; Version; " http://www.bigfoot.com/~potatoware -->" Print #n, "<HEAD>" If Cnf(8, 14) <> "" Then a = " - " + Cnf(8, 14) Else a = "" If rtype = 0 Then Print #n, "<TITLE>Cypherpunk Remailers"; a; "</TITLE>" Else Print #n, "<TITLE>Mixmaster Remailers"; a; "</TITLE>" Print #n, "<META name="; Chr(34); "Description"; Chr(34); " content="; Chr(34); "Remailer Reliability Statistics"; Chr(34); ">" Print #n, "<META name="; Chr(34); "Keywords"; Chr(34); " content="; Chr(34); "stats, statistics, remailer, reliability, anonymous, nym, mixmaster"; Chr(34); ">" Print #n, "</HEAD>" Print #n, "<BODY>" Print #n, "<CENTER>" If Cnf(8, 14) <> "" Then Print #n, "<H2>"; Cnf(8, 14); "</H2>" Print #n, "<H3>"; If rtype = 0 Then Print #n, "Cypherpunk"; Else Print #n, "Mixmaster"; Print #n, " Remailers</H3></CENTER>" Print #n, "<BR><BR>" 'CPunk/Mix Link a = "" |
Which gives:
'Write Header If frmt = 1 Then Print #n, "<HTML>" Print #n, "<!-- Auto-Generated by Reliable v"; Version; " http://www.bigfoot.com/~potatoware -->" Print #n, "<HEAD>" If Cnf(8, 14) <> "" Then a = " - " + Cnf(8, 14) Else a = "" If rtype = 0 Then Print #n, "<TITLE>Cypherpunk Remailers"; a; "</TITLE>" Else Print #n, "<TITLE>Mixmaster Remailers"; a; "</TITLE>" Print #n, "<META name="; Chr(34); "Description"; Chr(34); " content="; Chr(34); "Remailer Reliability Statistics"; Chr(34); ">" Print #n, "<META name="; Chr(34); "Keywords"; Chr(34); " content="; Chr(34); "stats, statistics, remailer, reliability, anonymous, nym, mixmaster"; Chr(34); ">" Print #n, "</HEAD>" Print #n, Cnf(8, 28) Print #n, "<CENTER>" If Cnf(8, 14) <> "" Then Print #n, "<H2>"; Cnf(8, 14); "</H2>" Print #n, "<H3>"; If rtype = 0 Then Print #n, "Cypherpunk"; Else Print #n, "Mixmaster"; Print #n, " Remailers</H3></CENTER>" Print #n, "<BR><BR>" 'CPunk/Mix Link a = "" |
The other place is for Chain statistics:
(Search for neighbouring "<TITLE>Cypherpunk
Chains")
If Cnf(8, 24) <>
"" Then p = FreeFile Open Cnf(8, 24) For Output As p Print #p, "<HTML>" Print #p, "<!-- Auto-Generated by Reliable v"; Version; " http://www.bigfoot.com/~potatoware -->" Print #p, "<HEAD>" If Cnf(8, 14) <> "" Then a = " - " + Cnf(8, 14) Else a = "" Print #p, "<TITLE>Cypherpunk Chains"; a; "</TITLE>" Print #p, "<META name="; Chr(34); "Description"; Chr(34); " content="; Chr(34); "Cypherpunk Chain Stats"; Chr(34); ">" Print #p, "<META name="; Chr(34); "Keywords"; Chr(34); " content="; Chr(34); "stats, statistics, Remailer, anonymous, nym"; Chr(34); ">" Print #p, "</HEAD>" Print #p, "<BODY>" End If |
Which gives:
If Cnf(8, 24) <>
"" Then p = FreeFile Open Cnf(8, 24) For Output As p Print #p, "<HTML>" Print #p, "<!-- Auto-Generated by Reliable v"; Version; " http://www.bigfoot.com/~potatoware -->" Print #p, "<HEAD>" If Cnf(8, 14) <> "" Then a = " - " + Cnf(8, 14) Else a = "" Print #p, "<TITLE>Cypherpunk Chains"; a; "</TITLE>" Print #p, "<META name="; Chr(34); "Description"; Chr(34); " content="; Chr(34); "Cypherpunk Chain Stats"; Chr(34); ">" Print #p, "<META name="; Chr(34); "Keywords"; Chr(34); " content="; Chr(34); "stats, statistics, Remailer, anonymous, nym"; Chr(34); ">" Print #p, "</HEAD>" Print #p, Cnf(8, 28) End If |
Entering your data
It has to be a valid "<BODY>" statement.
Mine is:
<BODY><body background="bkg_Blue.jpg" BODY TEXT="#000000" BGCOLOR="#000000"> |
Back to Root Index or Root Main Pages