]> git.mxchange.org Git - mailer.git/blob - guestbook.php
Added local files.
[mailer.git] / guestbook.php
1 <?php
2
3 //  PROJECT HONEY POT ADDRESS DISTRIBUTION SCRIPT
4 //  For more information visit: http://www.projecthoneypot.org/
5 //  Copyright (C) 2004-2009, Unspam Technologies, Inc.
6 //  
7 //  This program is free software; you can redistribute it and/or modify
8 //  it under the terms of the GNU General Public License as published by
9 //  the Free Software Foundation; either version 2 of the License, or
10 //  (at your option) any later version.
11 //  
12 //  This program is distributed in the hope that it will be useful,
13 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
14 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 //  GNU General Public License for more details.
16 //  
17 //  You should have received a copy of the GNU General Public License
18 //  along with this program; if not, write to the Free Software
19 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
20 //  02111-1307  USA
21 //  
22 //  If you choose to modify or redistribute the software, you must
23 //  completely disconnect it from the Project Honey Pot Service, as
24 //  specified under the Terms of Service Use. These terms are available
25 //  here:
26 //  
27 //  http://www.projecthoneypot.org/terms_of_service_use.php
28 //  
29 //  The required modification to disconnect the software from the
30 //  Project Honey Pot Service is explained in the comments below. To find the
31 //  instructions, search for:  *** DISCONNECT INSTRUCTIONS ***
32 //  
33 //  Generated On: Mon, 14 Sep 2009 13:25:40 -0400
34 //  For Domain: www.mxchange.org
35 //  
36 //  
37
38 //  *** DISCONNECT INSTRUCTIONS ***
39 //  
40 //  You are free to modify or redistribute this software. However, if
41 //  you do so you must disconnect it from the Project Honey Pot Service.
42 //  To do this, you must delete the lines of code below located between the
43 //  *** START CUT HERE *** and *** FINISH CUT HERE *** comments. Under the
44 //  Terms of Service Use that you agreed to before downloading this software,
45 //  you may not recreate the deleted lines or modify this software to access
46 //  or otherwise connect to any Project Honey Pot server.
47 //  
48 //  *** START CUT HERE ***
49 //  
50 define('__REQUEST_HOST', 'hpr4.projecthoneypot.org');
51 define('__REQUEST_PORT', '80');
52 define('__REQUEST_SCRIPT','/cgi/serve.php');
53 //  
54 //  *** FINISH CUT HERE ***
55 //  
56
57 define('__HPOT_TAG1',    '7b8a66bc336b69c9af3e1af568a2b17d');
58 define('__HPOT_TAG2',    'ec4aa0ce192bb26dc2a4b650b0247c5f');
59 define('__HPOT_TAG3',    '34aa2473d1aa4705f92165addfe297ff');
60
61 define('__CLASS_STYLE_1','phik');
62 define('__CLASS_STYLE_2','wruth');
63
64 define('__DIV1',         'ti3esl9tr4pr');
65
66 define('__VANITY_L1',    'MEMBER OF PROJECT HONEY POT');
67 define('__VANITY_L2',    'Spam Harvester Protection Network');
68 define('__VANITY_L3',    'provided by Unspam');
69
70 define('__DOC_TYPE1',    '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\n');
71 define('__HEAD1',        '<html>\n<head>\n');
72 define('__HEAD2',        '<title>Wordforword</title>\n</head>\n');
73 define('__ROBOT1',       '<meta name="robots" content="noarchive,noindex">\n<meta name="robots" content="follow">\n');
74 define('__NOCOLLECT1',   '<meta name="no-email-collection" content="/">\n');
75 define('__TOP1',         '<body>\n<div id="multilane" align="center">\n');
76 define('__EMAIL1A',      '<a href="mailto:');
77 define('__EMAIL1B',      '" style="display: none;">');
78 define('__EMAIL1C',      '</a>');
79 define('__EMAIL2A',      '<a href="mailto:');
80 define('__EMAIL2B',      '" style="display:none;">');
81 define('__EMAIL2C',      '</a>');
82 define('__EMAIL3A',      '<a style="display: none;" href="mailto:');
83 define('__EMAIL3B',      '">');
84 define('__EMAIL3C',      '</a>');
85 define('__EMAIL4A',      '<a style="display:none;" href="mailto:');
86 define('__EMAIL4B',      '">');
87 define('__EMAIL4C',      '</a>');
88 define('__EMAIL5A',      '<a href="mailto:');
89 define('__EMAIL5B',      '"></a>');
90 define('__EMAIL5C',      '..');
91 define('__EMAIL6A',      '<span style="display: none;"><a href="mailto:');
92 define('__EMAIL6B',      '">');
93 define('__EMAIL6C',      '</a></span>');
94 define('__EMAIL7A',      '<span style="display:none;"><a href="mailto:');
95 define('__EMAIL7B',      '">');
96 define('__EMAIL7C',      '</a></span>');
97 define('__EMAIL8A',      '<!-- <a href="mailto:');
98 define('__EMAIL8B',      '">');
99 define('__EMAIL8C',      '</a> -->');
100 define('__EMAIL9A',      '<div id="'.__DIV1.'"><a href="mailto:');
101 define('__EMAIL9B',      '">');
102 define('__EMAIL9C',      '</a></div><br><script language="JavaScript" type="text/javascript">document.getElementById(\''.__DIV1.'\').innerHTML=\'\';</script>');
103 define('__EMAIL10A',     '<a href="mailto:');
104 define('__EMAIL10B',     '"><!-- ');
105 define('__EMAIL10C',     ' --></a>');
106 define('__LEGAL1',       '');
107 define('__LEGAL2',       '\n');
108 define('__STYLE1',       '\n<style>a.'.__CLASS_STYLE_1.'{color:#FFF;font:bold 10px arial,sans-serif;text-decoration:none;}</style>');
109 define('__VANITY1',      '<table cellspacing="0"cellpadding="0"border="0"style="background:#999;width:230px;"><tr><td valign="top"style="padding: 1px 2px 5px 4px;border-right:solid 1px #CCC;"><span style="font:bold 30px arial,sans-serif;color:#666;top:0px;position:relative;">@</span></td><td valign="top" align="left" style="padding:3px 0 0 4px;"><a href="http://www.projecthoneypot.org/" class="'.__CLASS_STYLE_1.'">'.__VANITY_L1.'</a><br><a href="http://www.unspam.com"class="'.__CLASS_STYLE_1.'">'.__VANITY_L2.'<br>'.__VANITY_L3.'</a></td></tr></table>\n');
110 define('__BOTTOM1',      '</div>\n</body>\n</html>\n');
111
112
113 function getLegalContent() { return '<table cellpadding="0" cellspacing="0" border="0">\n<tr>\n<td style="font-family: monospace;"><b><font color=white>c</font></b>&nbsp;&nbsp; <br>&nbsp;<br>The <br>to<!-- orchestra statute planner -->&nbsp;y<br>othe<br>Webs<br>read<br>&#97;gen<br>the&#109;<br>no&#110;-<br>W&#101;&#98;s<br><br>&nbsp; &nbsp; <br>&nbsp;<br>Sp&#101;c<br>Non&#45;<br>spid<br>prog<br>au&#116;o<br><br>Emai<br>It i<br>&#97;lon<br>has <br>st&#111;r<br>&#118;alu<br>stor<br>a&#103;re<br><br>&nbsp; &nbsp; <br>&nbsp;<br>Each<br>&#97;gai<br>("Ju<br>t&#104;e <br>s&#117;ch<br>and<font color=white>g</font><br>of f<br>&#97;ny <br>S&#101;rv<br>th&#101; <br><br>&nbsp; &nbsp; <br><font color=white>i</font><br>You <br>may <br>abus<br>Vis&#105;<br><br>V<!-- sidelong scale -->&#73;SI<br>P&#65;RT<br>SUBS<br></td>\n<td style="font-family: monospace;">&nbsp; &nbsp; <br><br>webs<br>ou s<br>r te<br>ite<font color=white>i</font><br><font color=white>f</font>the<br>ts o<br>. Th<br>tra&#110;<br>ite.<br><br>&nbsp; &nbsp; <br><br>ial <br>Huma<br>e&#114;s&#44;<br>rams<br>mati<br><br>l ad<br>&#115; re<br>e. Y<br>a<!-- caution inverse nose -->&nbsp;va<br>ag&#101;,<br>e of<br>i&#110;&#103; <br>emen<br><br>&nbsp; &nbsp; <br><br>&nbsp;p&#97;r<br>nst <br>dici<br>regi<!-- cold --><br><font color=white>k</font>law<br>p&#101;rf<br>e&#100;er<br>act&#105;<br>&#105;ce.<br>abov<br><br>&nbsp; <b><font color=white>t</font></b>&nbsp;<br><br>&#99;ons<br>appe<br>e&#46; T<br>to&#114;&#115;<br><br>TOR&#83;<br>Y OR<br>EQU&#69;<br></td>\n<td style="font-family: monospace;">&nbsp; <b><font color=white>o</font></b>&nbsp;<br><br>ite <br>ubje<br>rms <br>you <br>&#109;<font color=white>k</font>ca<br>f &#116;h<br>e a&#99;<br>sfe&#114;<br><br><br>&nbsp;<b><font color=white>h</font></b>&nbsp; <br><br>rest<br>n<font color=white>f</font>&#86;i<!-- struggle potted delivery --><br>&nbsp;b&#111;t<br>&nbsp;des<br>cal&#108;<br><br>dres<br>c&#111;gn<br>ou a<br>lu&#101;<font color=white>i</font><br>&nbsp;and<br>&nbsp;the<br>this<br>t an<br><br>&nbsp; &nbsp; <br><br>ty a<br>the <br>al A<br>s&#116;er<br>s ar<br>&#111;rme<br>al a<br>on b<br>&nbsp;You<br>e<font color=white>f</font>ag<br><br>&nbsp; &nbsp; <br><br>en&#116; <br>ar s<br>h&#101; I<br>&nbsp;ag&#114;<br><br>&nbsp;AG<!-- widespread eels dust nonsense -->R<br>&nbsp;SE&#78;<br>NT B<br></td>\n<td style="font-family: monospace;">&nbsp; &nbsp; <br><br>from<br>&#99;t t<br>g&#111;ve<br>a&#99;ce<br>re&#102;u<br>e<!-- it recitative -->&nbsp;in<br>c&#101;ss<br>able<br><br><br>&nbsp; <b><font color=white>k</font>S</b><br><br>rict<br>sit&#111;<br>s, i<br>i<!-- intracellular critic -->gne<br>y.<br><br>ses<!-- motion brunet yacht -->&nbsp;<br>ized<br>&#99;kno<br>&#110;ot <br>/or <br>&#115;e a<br>&nbsp;W&#101;b<br>d ex<br><br>&nbsp; &nbsp; <br><br>&#103;ree<br>o&#116;h&#101;<br>c&#116;io<br>ed<font color=white>g</font>A<br>e ap<br>d &#101;&#110;<br>nd s<br>roug<br>&nbsp;&#99;on<br>ree&#109;<br><br><b><font color=white>a</font></b>&nbsp;&nbsp; <br><br>to h<br>omew<br>de&#110;t<br>ee n<br><br>EE T<br>D&#73;&#78;G<br>REAC<br></td>\n<td style="font-family: monospace;">&nbsp; <b><font color=white>f</font></b>&nbsp;<br><br><font color=white>g</font>wh<!-- kid party explosive sovereign republican -->&#105;<br>o th<br>rnin<br>pt<font color=white>o</font>t<br>lly.<br>div&#105;<br>&nbsp;rig<!-- herrings physicians --><br>&nbsp;wit<br><br><br><b>PECI</b><br><br>ions<br>&#114;s. <br>ndex<br>d to<br><br><br>on &#116;<br>&nbsp;tha<br>wled<br>l&#101;ss<br>di&#115;t<br>dd&#114;e<br>site<br>&#112;res<br><br>&nbsp; &nbsp; <br><br>s &#116;h<br>r in<br>n") <br>dmin<br>plie<br>tire<br>tate<br>ht a<br>sent<br>ent.<br><br>&nbsp; &nbsp; <br><br>&#97;vin<br>here<br>ifie<br>o<!-- fair relativistic -->t t<br><br>HAT <br>&nbsp;ANY<br>H &#79;F<br></td>\n<td style="font-family: monospace;">&nbsp; &nbsp; <br><br>ch y<br>e &#102;o<br>g ac<br>hese<br>&nbsp;Any<br>dual<br>hts <br>hout<br><br><br><b>AL</b>&nbsp;<b>L</b><br><br><font color=white>s</font>o&#110;<font color=white>d</font><br>Non-<br>&#101;&#114;s,<br>&nbsp;acc<br><br><br>hi&#115;<font color=white>d</font><br>t<font color=white>o</font>th<br>ge a<br>&nbsp;tha<br>ribu<br>sses<br>\'s e<br>sl&#121; <br><br><b><font color=white>d</font></b>&nbsp; <b><font color=white>a</font></b><br><br>at a<br>&nbsp;con<br>&#115;hal<br>istr<br>d &#116;o<br>l&#121; w<br>&nbsp;co<!-- paramilitary -->u<br>gain<br>&nbsp;&#116;o <br><br><br>&nbsp;&nbsp; <b><font color=white>s</font></b><br><br>g yo<br>&nbsp;on <br>&#114; is<br>o u&#115;<br><br>H&#65;RV<br>&nbsp;MES<br>&nbsp;THE<!-- software income --><br></td>\n<td style="font-family: monospace;"><b><font color=white>k</font></b>&nbsp; <b>T</b><br><br>ou a<br>llow<br>cess<br>&nbsp;ter<br>&nbsp;Non<br>(&#115;) <br>&#103;ran<br>&nbsp;the<br><br><br><b>ICEN</b><br><br>&#97; vi<br>&#72;&#117;m&#97;<br>&nbsp;ro<!-- small builder -->b<br>es<!-- freewheeling -->s&#44;<br><br><br>sit&#101;<br>e<!-- naked phone jungle -->se<font color=white>i</font><br>nd a<br>n US<br>ti<!-- blacktie oleaginous text complete -->&#111;n<br>. In<br>mail<br>proh<br><br>&nbsp;<b>&#65;PP</b><br><br>ny s<br>ne&#99;t<br>l b<!-- plaster unconscious -->e<br>at&#105;v<br>&nbsp;agr<br>ithi<br>rts<font color=white>c</font><br>st h<br>elec<br><br><br><b>RECO</b><br><br>u<!-- prejudice lap -->r I<br>th&#105;s<br>&nbsp;u&#110;i<br>e th<br><br>ESTI<br>SAGE<br>&#83;E T<br></td>\n<td style="font-family: monospace;"><b>ERM&#83;</b><br><br>cces<br>ing <br>&nbsp;to <br>ms<font color=white>o</font>a<br>-Hu&#109;<br>who <br>te&#100;<font color=white>a</font><br>&nbsp;exp<br><br><br><b>SE</b>&nbsp;<b>R</b><br><br>s&#105;to<br>n Vi<br>ots,<br>&nbsp;r&#101;a<br><br><br>&nbsp;are<br>emai<br>g&#114;ee<!-- rolypoly seer injury --><br>&nbsp;$50<br>&nbsp;of <br>te&#110;t<br>&nbsp;add<br>ibit<br><br><b>LICA</b><br><br>u&#105;t,<br>i&#111;n <br>&nbsp;gov<br>e Co<br>eeme<br>n t&#104;<br>with<br>im i<br>tro&#110;<br><br><br><b>RDS</b>&nbsp;<br><br>nte&#114;<br>&nbsp;pag<br>quel<br>is a<br><br>NG, <br>(S) <br>ERMS<br></td>\n<td style="font-family: monospace;">&nbsp;<b>AND</b><br><br>&#115;ed <br>c&#111;nd<br>the <br>nd c<br>an V<br>c&#111;nt<br>to<font color=white>h</font>y<br>ress<br><br><br><b>EST&#82;</b><br><br>&#114;\'&#115; <br>sito<br>&nbsp;cr&#97;<br>d, c<br><br><br>&nbsp;con<br>l<font color=white>a</font>ad<br><font color=white>s</font>tha<br>. Y&#111;<br>thes<br>iona<br>&#114;ess<br>ed.<br><br><b>BLE</b>&nbsp;<br><br>&nbsp;&#97;ct<br>with<br>erne<br>nt<!-- foolish necessity atonal increase -->&#97;c<br>nts <br>e Ad<br>&#105;n t<br>n co<br>&#105;c s<!-- culture circuit --><br><br><br><b>OF</b>&nbsp;<b>V</b><br><br>net <br>&#101; (t<br>y ma<br>ddre<br><br>G&#65;TH<br>&#84;O T<br><font color=white>a</font>OF <br></td>\n<td style="font-family: monospace;">&nbsp;<b>CON</b><br><br>this<br>i&#116;&#105;o<br>Webs<br>ondi<br>isit<br>&#114;o&#108;s<br>ou u<br>&nbsp;wri<br><br><br><b>ICTI</b><br><br>lice<br>&#114;&#115; &#105;<br>&#119;le&#114;<br>ompi<br><br><br>side<br>&#100;&#114;es<br>t ea<br>&#117; fu<br>e<font color=white>a</font>ad<br>l co<br>es<font color=white>o</font>&#105;<br><br><br><b>LA&#87;</b>&nbsp;<br><br>ion<font color=white>k</font><br>&nbsp;o&#114; <br>d by<br>t &#40;t<br>betw<br>&#109;in <br>h&#101; A<br>nnec<br>ervi<br><br><br><b>ISIT</b><br><br>Prot<br>he<font color=white>t</font>"<br>tche<br>s&#115; f<br><br>ERIN<br>HE &#73;<br>SE&#82;V<br></td>\n<td style="font-family: monospace;"><b>DIT&#73;</b><br><br>&nbsp;agr<br>&#110;s. <br>i&#116;e.<br>ti&#111;n<br>ors <br>, au<!-- prime drop --><br>nder<br>tt<!-- threeway gubernatorial estate garage knightly -->e&#110;<br><br><br><b>ONS</b>&nbsp;<br><br>&#110;se<font color=white>a</font><br>ncl&#117;<br>s, h<br>le o<br><br><br>r<!-- nonresident -->&#101;d <br>ses <br>&#99;h e<br>rth&#101;<br>dres<br>llec<br>s &#114;&#101;<br><br><br><b>AN&#68;</b>&nbsp;<br><br>o&#114; p<br>a&#114;&#105;s<br>&nbsp;the<br>&#104;e "<br>&#101;en <br>S&#116;at<br>dm&#105;n<br>ti&#111;n<br>ce o<br><br><br><b>OR</b>&nbsp;<b>U</b><br><br>o&#99;ol<br>&#73;&#100;en<br>d to<br>o&#114; a<br><br>G,<!-- crime subjective -->&nbsp;S<br>DENT<br>ICE.<br></td>\n<td style="font-family: monospace;"><b>ONS</b>&nbsp;<br><br>&#101;eme<br>Thes<br>&nbsp;&#66;&#121;<font color=white>i</font><br>s (t<br>to t<br>thor<br>&nbsp;t<!-- pretty agitato provincial handle network -->he<br>&nbsp;per<br><br><br><b>FO<!-- spiritual cutaway -->R<font color=white>k</font></b><br><br>to a<br>de, <br>a&#114;v&#101;<br>r ga<br><br><br>p&#114;op<br>are <br>m&#97;il<br>r ag<br>se&#115;<font color=white>p</font><br>tion<br>&#99;o&#103;&#110;<br><br><br><b>JURI</b><br><br>roce<br>ing <br>&nbsp;&#108;aw<br>Admi<br>Adm<!-- callous glimpse -->i<br>e. Y<br>&nbsp;St&#97;<br>&nbsp;wi&#116;<br>&#102; pr<!-- smelly orthodox --><br><br><br><b>S&#69;</b>&nbsp;<b>A</b><br><br><font color=white>h</font>&#97;d&#100;<br>tifi<br>&nbsp;you<br>ny r<br><br>TORI<br>IFI&#69;<br><br></td>\n<td style="font-family: monospace;"><b>O&#70;</b>&nbsp;<b>U</b><br><br>nt (<br>e te<br>visi<br>&#104;e "<!-- funny miss salvation --><br>he<!-- projection recruitment advice -->&nbsp;W<br>s or<br>&nbsp;Ter<br>&#109;iss<br><br><br><b>NON-</b><br><br>cces<br>but<font color=white>t</font><br>ster<br>the&#114;<br><br><br>riet<br>prov<br><font color=white>e</font>&#97;dd<br>ree <br>subs<br>, ha<br>ized<br><br><br><b>SDIC</b><br><br>edin<br>fro&#109;<br>&nbsp;o&#102; <br>n St<br>n St<br>ou c<br>te&#46; <br>h br<br>oces<br><br><br><b>ND<font color=white>o</font>A</b><br><br>ress<br>&#101;r")<br>r I&#110;<br>ea&#115;o<br><br>NG, <br>R C&#79;<br><br></td>\n<td style="font-family: monospace;"><b>SE</b>&nbsp;<br><br>"th&#101;<br>rms <br>ting<br>Term<br>&#101;bsi<br>&nbsp;ot&#104;<br>ms o<br>i&#111;n <br><br><br><b>HUMA</b><br><br>s th<br>are<font color=white>e</font><br>s, o<br>&nbsp;con<br><br><br>ary <br>ided<br>res&#115;<br>th&#97;t<br>tant<br>rve&#115;<br>&nbsp;&#97;&#115; <br><br><br><b>T&#73;ON</b><br><br>g br<br>&nbsp;the<br>the <br>&#97;te"<br>ate<font color=white>i</font><br>onse<br>Yo&#117; <br>each<br>s re<br><br><br><b>BUSE</b><br><br><font color=white>k</font>&#114;ec<br>&nbsp;if <br>tern<br>n&#46;<br><br>TRAN<br>NSTI<br><br></td>\n<td style="font-family: monospace;"><br><br>&nbsp;We&#98;<br>are <br>&nbsp;(in<br>s of<br>te s<br>erw&#105;<br>f Se<br>of &#116;<br><br><br><b>N</b>&nbsp;<b>VI</b><br><br>e &#87;e<br>not <br>r an<br>te<!-- unaccountable -->nt<br><br><br>inte<br>&nbsp;f&#111;r<br>&nbsp;the<br><font color=white>h</font>the<br>&#105;al&#108;<br>ti&#110;g<br>a vi<br><br><br>&nbsp;<br><br>&#111;u<!-- sweeping fetal funeral -->gh<br>&nbsp;Ter<br>stat<br>) fo<br>resi<br>nt t<br>&#99;ons<br>es o<br>g&#97;rd<br><br><br>&nbsp;<br><br>or&#100;e<br>we s<br>et P<br><br><br>SFER<br>TUTE<br><br></td>\n<td style="font-family: monospace;"><br><br>site<br>in a<br>&nbsp;any<br>&nbsp;Ser<br>hall<br>s&#101; &#109;<br>rvic<br>he o<br><br><br><b>SITO</b><br><br>&#98;sit<br>limi<br>y<font color=white>f</font>ot<br>&nbsp;f&#114;o<br><br><br>lle&#99;<br>&nbsp;hum<br>&nbsp;&#87;eb<br>&nbsp;com<br>y &#100;i<br>, ga<br>olat<br><br><br><br><br>t &#98;&#121;<br>ms o<br>e o&#102;<br>r th<br>dent<br>o &#116;h<br>ent<!-- plated short illtimed convenient column -->&nbsp;<br>f<font color=white>o</font>t&#104;<br>ing <br><br><br><br><br>d. A<br>usp&#101;<br>ro&#116;o<br><br><br>RI&#78;G<br>S AN<br><br></td>\n<td style="font-family: monospace;"><br><br>") i<!-- great stance --><br>ddit<br>&nbsp;man<br>v&#105;&#99;e<br><font color=white>g</font>b&#101; <br>a&#107;es<br>e ar<br>w&#110;er<br><br><br><b>RS</b>&nbsp;<br><br>e ap<br>ted <br>her <br>m t&#104;<br><br><br>tual<br>an<font color=white>a</font>&#118;<br>site<br>&#112;ila<br>&#109;in&#105;<br>&#116;he&#114;<br>ion <br><br><br><br><br><font color=white>e</font>s&#117;c<br>f Se<br><font color=white>f</font>res<br>e We<br>s<font color=white>g</font>e&#110;<br>e ju<br>to t<br>e&#115;e <br>act<!-- cursed stability offlimits -->i<br><br><br><br><br>n em<br>c&#116;<font color=white>o</font>p<br>col <br><br><br>&nbsp;&#84;O <br>&nbsp;ACC<br><br></td>\n<td style="font-family: monospace;"><br><br>s p&#114;<br>ion <br>ner)<br>"). <br>cons<br>&nbsp;us&#101;<br>e<br>&nbsp;o&#102; <br><br><br><br><br>ply <br>to, <br>comp<br>e We<br><br><br>&nbsp;pro<br>i&#115;i&#116;<br>&nbsp;co&#110;<br>t&#105;&#111;&#110;<br>s&#104;e&#115;<br>in&#103;,<br>of &#116;<br><br><br><br><br>h p&#97;<br>&#114;vic<br>iden<br>&#98;sit<br>tere<br>risd<br>h<!-- radical astigmatic -->e v<br>Term<br>ons<font color=white>d</font><br><br><br><br><br>ail <br>oten<br>a&#100;&#100;r<br><br><br>A<font color=white>g</font>TH<br>EP&#84;A<br><br></td>\n<td style="font-family: monospace;"><br><br>ovi&#100;<br>&#116;o a<br>&nbsp;the<br>Plea<br>id&#101;r<br>&nbsp;of<br><br>the<br><br><br><br><br>to<br>&#119;eb<br>uter<br>bsit<br><br><br>pert<br>ors<br>t&#97;in<br>,<br>&nbsp;the<br>&nbsp;and<br>h&#105;s<br><br><br><br><br>rt&#121;<br>e<br>ce o<br>e as<br>d in<br>icti<br>enue<br>s of<br>un<!-- occupational hawks sound -->de<br><br><br><br><br>&#97;ddr<br>tial<br>ess.<br><br><br>IR&#68;<br>NCE <br><br></td>\n<td style="font-family: monospace;"><br><br>e&#100;<br>ny<br><br>se<br>&#101;d<br><br><br><br><br><br><br><br><br><br><br>e<br><br><br>y&#46;<br><br>s<br><br><br>/or<br><br><br><br><br><br><br><br>f<br><br>t<!-- contradictory mayor halfway threshold unchanged -->o<br>on<br><font color=white>c</font>in<br><br>&#114;<br><br><br><br><br>ess<br><br><br><br><br><br>AN<!-- low odd unalloyed -->D<br><br></td>\n</tr>\n</table>\n<br>'; }
114
115
116 ?><?php 
117
118 // 
119 // PROXY SUPPORT
120 //  
121 // This honey pot script supports Proxies. If your webserver requires a proxy
122 // for outbound connections you may configure this honey pot's settings to use
123 // a proxy.
124 //
125 // For more information, visit: 
126 //     http://www.projecthoneypot.org/settings_help.php
127 //
128 //
129
130
131
132 function formatHTML($s) {
133     return str_replace('\n',"\n",$s);
134 }
135
136 function getDocType()       { return formatHTML(__DOC_TYPE1); }
137 function getHeadHTML1()     { return formatHTML(__HEAD1); }
138 function getRobotHTML()     { return formatHTML(__ROBOT1); }
139 function getNoCollectHTML() { return formatHTML(__NOCOLLECT1); }
140 function getHeadHTML2()     { return formatHTML(__HEAD2); }
141 function getTopHTML()       { return formatHTML(__TOP1); }
142 function getEmailHTML($method,$m) { 
143     switch ($method) {
144     case 0: return "";
145     case 1: return formatHTML(__EMAIL1A.$m.__EMAIL1B.$m.__EMAIL1C); 
146     case 2: return formatHTML(__EMAIL2A.$m.__EMAIL2B.$m.__EMAIL2C); 
147     case 3: return formatHTML(__EMAIL3A.$m.__EMAIL3B.$m.__EMAIL3C); 
148     case 4: return formatHTML(__EMAIL4A.$m.__EMAIL4B.$m.__EMAIL4C); 
149     case 5: return formatHTML(__EMAIL5A.$m.__EMAIL5B); 
150     case 6: return formatHTML(__EMAIL6A.$m.__EMAIL6B.$m.__EMAIL6C); 
151     case 7: return formatHTML(__EMAIL7A.$m.__EMAIL7B.$m.__EMAIL7C); 
152     case 8: return formatHTML(__EMAIL8A.$m.__EMAIL8B.$m.__EMAIL8C); 
153     case 9: return formatHTML(__EMAIL9A.$m.__EMAIL9B.$m.__EMAIL9C); 
154     }
155     return formatHTML(__EMAIL10A.$m.__EMAIL10B.$m.__EMAIL10C); 
156 }
157 function getLegalHTML()   { return formatHTML(__LEGAL1.(getLegalContent()).__LEGAL2); }
158 function getStyleHTML()   { return formatHTML(__STYLE1); }
159 function getVanityHTML()  { return formatHTML(__VANITY1); }
160 function getBottomHTML()  { return formatHTML(__BOTTOM1); }
161
162 function readSettings() {
163     $settings      = NULL;
164     $settings_file = dirname(__FILE__)."/phpot_settings.php";
165
166     if (is_file($settings_file) && is_readable($settings_file)) {
167         $fp = fopen($settings_file,"r");
168         $contents = "";
169         while (!feof($fp)) {
170             $contents .= fread($fp, 8192);
171         }
172         fclose($fp);
173
174         $lines = explode("\n",$contents);
175         foreach ($lines as $line) {
176             if (trim($line) !== "") {
177                 list ($setting, $value) = @explode(":",$line,2);
178                 switch ($setting) {
179                 case "proxy_host": 
180                     $settings["sock_host"] = trim($value);
181                     break;
182                 case "proxy_port":
183                     $settings["sock_port"] = trim($value);
184                     break;
185                 }
186                 if (trim($value) !== "") {
187                     $settings[trim($setting)] = trim($value);
188                 }
189             }
190         }
191     }
192
193     if (isset($settings["proxy_host"]) && isset($settings["proxy_port"]) && !isset($settings["use_proxy"])) {
194         $settings["use_proxy"] = "1";
195     } else {
196         $settings["use_proxy"] = "0";
197     }
198
199     if (isset($settings["proxy_user"]) && isset($settings["proxy_pass"]) && !isset($settings["proxy_auth"])) {
200         $settings["proxy_auth"] = "basic";
201     } else {
202         $settings["proxy_auth"] = "none";
203     }
204
205     if (!isset($settings["sock_host"])) $settings["sock_host"] = __REQUEST_HOST;
206     if (!isset($settings["sock_port"])) $settings["sock_port"] = __REQUEST_PORT;
207
208     return $settings;
209 }
210
211 function performRequest($request) {
212     $response = "";
213
214     $settings = readSettings();
215
216     if ($settings["use_proxy"] == "1") {
217         // POST via proxy
218         $post_url = "http://".__REQUEST_HOST.":".__REQUEST_PORT.__REQUEST_SCRIPT;
219
220         $head  = "POST ".$post_url." HTTP/1.0\r\n";
221         //$head .= "Host: ".__REQUEST_HOST."\r\n";
222         $head .= "User-Agent: PHPot ".__HPOT_TAG2."\r\n";
223         if ($settings["proxy_auth"] == "basic") {
224             $head .= "Proxy-Authorization: Basic ".base64_encode($settings["proxy_user"].":".$settings["proxy_pass"])."\r\n";
225         }
226         $head .= "Cache-Control: no-store, no-cache\r\n";
227         $head .= "Accept: */*\r\n";
228         $head .= "Pragma: no-cache\r\n";
229         $head .= "Content-Type: application/x-www-form-urlencoded\r\n";
230         $head .= "Content-Length: ".strlen($request)."\r\n";
231         $head .= "Connection: close\r\n\r\n";
232
233     } else {
234         // POST directly
235         $head  = "POST ".__REQUEST_SCRIPT." HTTP/1.1\r\n";
236         $head .= "Host: ".__REQUEST_HOST."\r\n";
237         $head .= "User-Agent: PHPot ".__HPOT_TAG2."\r\n";
238         $head .= "Content-Type: application/x-www-form-urlencoded\r\n";
239         $head .= "Content-Length: ".strlen($request)."\r\n";
240         $head .= "Connection: close\r\n\r\n";
241     }
242     
243     $errno  = NULL;
244     $errstr = NULL;
245     $fd = @fsockopen ($settings["sock_host"], $settings["sock_port"], $errno, $errstr, 20);
246
247     if (!$fd) {
248         // Socket Error
249         die("\n<BR>Unable to contact the Server. Are outbound connections disabled? (If a proxy is required for outbound traffic, you may configure the honey pot to use a proxy. For instructions, visit http://www.projecthoneypot.org/settings_help.php)<BR>\n");
250         return "-1";
251     } else {
252
253         fputs($fd,$head.$request);
254         while(!feof($fd)) {
255             $response .= fgets($fd,4096);
256         }
257         fclose($fd);
258     }
259
260     return $response;
261 }
262
263 function prepareRequest() {
264     $postvars          = array();
265     $postvars["tag1"]  = __HPOT_TAG1;
266     $postvars["tag2"]  = __HPOT_TAG2;
267     $postvars["tag3"]  = __HPOT_TAG3;
268     if (!($handle = fopen(__FILE__,"r"))) {
269         die("\n<BR>Unable to read contents of ".__FILE__." for hashing<BR>\n");
270         return -2;
271     }
272     $contents = "";
273     while (!feof($handle)) {
274         $contents .= fread($handle, 8192);
275     }
276     fclose($handle);
277     $postvars["tag4"]   = md5(ereg_replace("[^a-zA-Z0-9]","",$contents));
278     $postvars["ip"]    = $_SERVER["REMOTE_ADDR"];
279     $postvars["svrn"]  = $_SERVER["SERVER_NAME"];  
280     $postvars["svp"]   = $_SERVER["SERVER_PORT"];  
281     $postvars["svip"]  = isset($_SERVER["SERVER_ADDR"]) ? $_SERVER["SERVER_ADDR"] : "";
282     $postvars["rquri"]   = isset($_SERVER["REQUEST_URI"]) ? $_SERVER["REQUEST_URI"] : "";
283     $postvars["phpself"] = str_replace(' ','%20',$_SERVER["PHP_SELF"]);
284     $postvars["version"] = "php-".phpversion();
285     $postvars["sn"]     = str_replace(' ','%20',$_SERVER["SCRIPT_NAME"]);
286     $postvars["ref"]    = isset($_SERVER["HTTP_REFERER"]) ? $_SERVER["HTTP_REFERER"] : "";
287     $postvars["uagnt"]  = isset($_SERVER["HTTP_USER_AGENT"]) ? $_SERVER["HTTP_USER_AGENT"] : "";
288     if (isset($_POST) && count($_POST) > 0) {
289         $postvars["has_post"] = count($_POST);
290         for (reset($_POST);list($k,$v) = each($_POST);) {
291             $postvars["post|".$k] = $v;
292         }
293         reset($_POST);
294     }
295     if (isset($_GET) && count($_GET) > 0) {
296         $postvars["has_get"] = count($_GET);
297         for (reset($_GET);list($k,$v) = each($_GET);) {
298             $postvars["get|".$k] = $v;
299         }
300         reset($_GET);
301     }
302
303     return $postvars;
304 }
305
306 function transcribeResponse(& $response) {
307     $settings  = NULL;
308     $arr       = explode("\n",$response);
309     $isParam   = FALSE;
310
311     
312     for ($i=0;list(,$v)=each($arr);$i++) {
313         if ($v == "<END>")   $isParam = FALSE;
314
315         if ($isParam) {          
316             $pieces = explode("=",$v,2);
317             $settings[$pieces[0]] = urldecode($pieces[1]);
318         }
319         if ($v == "<BEGIN>") $isParam = TRUE;
320     }
321     
322
323     if ($settings["directives"]) {
324         $settings["directives"] = explode(",",$settings["directives"]);
325     }
326
327     return $settings;
328 }
329
330 header("Cache-Control: no-store, no-cache");
331 header("Pragma: no-cache");
332
333 $response  = "";
334 $request   = "";
335 $post      = prepareRequest();
336
337 for (reset($post);list($k,$v) = each($post);) {
338     $request .= "&".urlencode($k)."=".urlencode(stripslashes($v));
339 }
340 $request    = substr($request,1);
341 $response   = performRequest($request);
342 if ($response == "-1") {
343     exit();
344 }
345 $settings   = transcribeResponse($response);
346
347 $directives   = $settings["directives"];
348 $email        = isset($settings["email"]) ? $settings["email"] : "";
349 $emailmethod  = isset($settings["emailmethod"]) ? $settings["emailmethod"] : 0;
350
351
352
353
354 ?>
355 <?php echo (isset($directives[0]) && $directives[0]==1) ? getDocType()    : ""; ?>
356 <?php echo (isset($settings["injDocType"])) ? formatHTML($settings["injDocTypeMsg"]) : ""; ?>
357 <?php echo (isset($directives[1]) && $directives[1]==1) ? getHeadHTML1()   : ""; ?>
358 <?php echo (isset($settings["injHead1HTML"])) ? formatHTML($settings["injHead1HTMLMsg"]) : ""; ?>
359 <?php echo (isset($directives[8]) && $directives[8]==1) ? getRobotHTML()   : ""; ?>
360 <?php echo (isset($settings["injRobotHTML"])) ? formatHTML($settings["injRobotHTMLMsg"]) : ""; ?>
361 <?php echo (isset($directives[9]) && $directives[9]==1) ? getNoCollectHTML()   : ""; ?>
362 <?php echo (isset($settings["injNoCollectHTML"])) ? formatHTML($settings["injNoCollectHTMLMsg"]) : ""; ?>
363 <?php echo (isset($directives[1]) && $directives[1]==1) ? getHeadHTML2()   : ""; ?>
364 <?php echo (isset($settings["injHead2HTML"])) ? formatHTML($settings["injHead2HTMLMsg"]) : ""; ?>
365 <?php echo (isset($directives[2]) && $directives[2]==1) ? getTopHTML()    : ""; ?>
366 <?php echo (isset($settings["injTopHTML"])) ? formatHTML($settings["injTopHTMLMsg"]) : ""; ?>
367 <?php
368    if (isset($settings["actMsgOn"])) { 
369        echo formatHTML($settings["actMsg"]); 
370    }
371    if (isset($settings["errMsgOn"])) { 
372        echo formatHTML($settings["errMsg"]); 
373    }
374    if (isset($settings["customMsgOn"])) { 
375        echo formatHTML($settings["customMsg"]); 
376    }
377 ?>
378 <?php echo (isset($directives[3]) && $directives[3]==1) ? getLegalHTML()  : ""; ?>
379 <?php echo (isset($settings["injLegalHTML"])) ? formatHTML($settings["injLegalHTMLMsg"]) : ""; ?>
380 <?php
381    if (isset($settings["altLegalOn"])) { 
382        echo formatHTML($settings["altLegalMsg"]); 
383    } 
384 ?>
385 <?php echo (isset($directives[4]) && $directives[4]==1) ? getEmailHTML(intval($emailmethod),$email)  : ""; ?>
386 <?php echo (isset($settings["injEmailHTML"])) ? formatHTML($settings["injEmailHTMLMsg"]) : ""; ?>
387 <?php echo (isset($directives[5]) && $directives[5]==1) ? getStyleHTML()  : ""; ?>
388 <?php echo (isset($settings["injStyleHTML"])) ? formatHTML($settings["injStyleHTMLMsg"]) : ""; ?>
389 <?php echo (isset($directives[6]) && $directives[6]==1) ? getVanityHTML() : ""; ?>
390 <?php echo (isset($settings["injVanityHTML"])) ? formatHTML($settings["injVanityHTMLMsg"]) : ""; ?>
391 <?php
392    if (isset($settings["altVanityOn"])) {
393         echo formatHTML($settings["altVanityMsg"]);
394     }
395 ?>
396 <?php echo (isset($directives[7]) && $directives[7]==1) ? getBottomHTML() : ""; ?>
397 <?php echo (isset($settings["injBottomHTML"])) ? formatHTML($settings["injBottomHTMLMsg"]) : ""; ?>