Halihallo Forumer
Ich liebe es, wenn ein Plan funktioniert... Ach, wenn einer mal seine Mitarbeiter/Chefs/I-NetCaffee überpfüfen möchte, wo und was sie im INet surfen, nur den Proxi auf das Script setzen und...
auszug aus'm proxi-log für den Request - fo_posting des letzten Postings... Big Brother is watching you!...
Viele Grüsse
Philipp
Request on http://forum.de.selfhtml.org/cgi-bin/fo_posting.pl
Request-Header:
Pragma: no-cache
Proxy-Connection: Keep-Alive
Content-Type: application/x-www-form-urlencoded
Host: forum.de.selfhtml.org
Content-Length: 6116
Referer: http://forum.de.selfhtml.org/?m=114967&t=20533
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Accept-Language: de
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Request-Content: (Length: 6116)
fup=20533%3B114967&unid=Yx9pHc1FdcUF_LcCyLGeg_&qchar=%FF%BB%BB+&name=Philipp+Hasenfratz&email=philipp.hasenfratz@gmx.net&body=Halihallo+Forumer%0D%0A%0D%0Aso.+Jetzt+hatte+ich+endlich+Zeit+das+ganze+auch+auszuprobieren+und+es+funktioniert+perfekt%2C+naja%2C+fast%2C+sonst+m%FCsste+ich+hier+nicht+schreiben+%3B%29...+Danke+nochmals+f%FCr+deine+Beispiele%2C+Christian%3B+ich+hoffe+du+erlaubst%2C+dass+ich+diese+gleich+verwendet+habe+%28ging+einfach+schneller%2C+als+alles+nochmal+selber+zu+programmieren%29.%0D%0A%0D%0AAlles%2C+bis+auf+google.ch+funktioniert.+GET%2FPOST+Daten%2C+Cookies%2C+...+einfach+alles%2C+bis+auf+diesen+Google...+Wenn+ich+n%E4mlich+diese+Seite+lade%2C+dann+geht+der+Browser+in+eine+Endlosschlaufe+und+l%E4dt+die+Page+immer+neu.+Ich+glaube%2C+dass+es+an+dem+Status+302+h%E4ngt+bzw.+an+Proxy-Connection%3A+Keep-Alive%3F%3F%3F+-+Mal+schaun%2C+was+ihr+dazu+meint%3A%0D%0A%0D%0AViele+Gr%FCsse%0D%0A%0D%0APhilipp%0D%0A%0D%0APS%3A+Ganz+unten+noch+der+momentane+Code...%0D%0A%0D%0ARequest+on+http%3A%2F%2Fwww.google.ch%2F%0D%0A+++Request-Header%3A%0D%0A++++++Proxy-Connection%3A+Keep-Alive%0D%0A++++++Host%3A+www.google.ch%0D%0A++++++Cookie%3A+PREF%3DID%3D2ee932854a6b966a%3ALD%3Dde%3ATM%3D1029179593%3ALM%3D1029179593%3AS%3DyXSkNolyuIg%0D%0A++++++User-Agent%3A+Mozilla%2F4.0+%28compatible%3B+MSIE+6.0%3B+Windows+NT+5.1%29%0D%0A++++++Accept-Language%3A+de%0D%0A++++++Accept%3A+image%2Fgif%2C+image%2Fx-xbitmap%2C+image%2Fjpeg%2C+image%2Fpjpeg%2C+application%2Fvnd.ms-excel%2C+application%2Fvnd.ms-powerpoint%2C+application%2Fmsword%2C+*%2F*%0D%0A+++Request-Content%3A+%28Length%3A+%29%0D%0A+++Request+answer+from+http%3A%2F%2Fwww.google.ch%2F%0D%0A++++++HTTP%2F1.0+302+Found%0D%0A++++++Content-Length%3A+151%0D%0A++++++Connection%3A+Close%0D%0A++++++Server%3A+GWS%2F2.0%0D%0A++++++Content-Type%3A+text%2Fhtml%0D%0A++++++Date%3A+Sat%2C+17+Aug+2002+12%3A39%3A38+GMT%0D%0A++++++Location%3A+http%3A%2F%2Fwww.google.ch%2F%0D%0A++++++Set-Cookie%3A+PREF%3DID%3D1a0d0e7e7e467b7d%3ATM%3D1029587978%3ALM%3D1029587978%3AS%3DoKKDkzioSrA%3B+domain%3D.google.com%3B+path%3D%2F%3B+expires%3DSun%2C+17-Jan-2038+19%3A14%3A07+GMT%0D%0A%0D%0A----%0D%0A%0D%0Aproxi.pl%0D%0A%3D%3D%3D%3D%3D%3D%3D%3D%0D%0A%0D%0A%23%21%2Fusr%2Fbin%2Fperl%0D%0A%0D%0Ause+IO%3A%3ASocket%3A%3AINET%3B%0D%0Ause+LWP%3A%3ASimple%3B%0D%0A%0D%0Amy+%24socket+%3D+new+IO%3A%3ASocket%3A%3AINET%28%09LocalAddr%09%3D%3E+%27localhost%27%2C%0D%0A%09%09%09%09%09LocalPort%09%3D%3E+8080%2C%0D%0A%09%09%09%09%09Listen%09%09%3D%3E+5%2C%0D%0A%09%09%09%09%09Reuse%09%09%3D%3E+1%2C%0D%0A%09%09%09%09%09Proto%09%09%3D%3E+%27tcp%27+%29%0D%0A%09%09or+die+%27cannot+initialise+listener%27%3B%0D%0A%0D%0Amy+%25hosts+%3D+%28%09%27http%3A%2F%2Fwww.thedorcx.ch%2F%27%09%3D%3E+%27http%3A%2F%2F127.0.0.1%2Fwww.thedorcx.ch%2F%27%2C%0D%0A%09%09%27http%3A%2F%2Fwww.kodex.ch%2F%27%09%09%3D%3E+%27http%3A%2F%2F127.0.0.1%2Fwww.kodex.ch%2F%27%2C%0D%0A%09%09%27http%3A%2F%2Fwww.test.ch%2F%27%09%09%3D%3E+%27http%3A%2F%2F127.0.0.1%2Fwww.test.ch%2F%27+%29%3B%0D%0A%0D%0A%23+einige+Domain-Referer%2C+genau+das%2C+wozu+ich+den+Proxi+verwende...%0D%0A%23+also+die+Ursache%2C+warum+ich+erst+angefangen+habe+zu+programmieren.%0D%0A%0D%0Aopen%28+LOG%2C+%27%3E%3E.%2Flog.txt%27+%29%3B%0D%0A%0D%0Awhile+%28+my+%24sock+%3D+%24socket-%3Eaccept+%29+%7B%0D%0A%0D%0A+++my+%25headers%3B+my+%25_headers%3B%0D%0A+++%24headers%7B_firstline%7D+%3D+%3C%24sock%3E%3B%0D%0A%0D%0A+++while%28%3C%24sock%3E%29+%7B%0D%0A+++++last+if+m%2F%5E%5Cs*%24%2F%3B%0D%0A+++++if%28m%2F%5E%28%5CS%2B%29%3A+%28.*%29%24%2F%29+%7B%0D%0A+++++++my+%24n+%3D+%241%3B+my+%24v+%3D+%242%3B%0D%0A+++++++%24n+%3D%7E+s%2F%5C015%7C%5C012%2F%2Fg%3B%0D%0A+++++++%24v+%3D%7E+s%2F%5C015%7C%5C012%2F%2Fg%3B%0D%0A+++++++%24headers%7B%24n%7D+%3D+%24v%3B%0D%0A+++++++%24_headers%7Blc+%24n%7D+%3D+%24v%3B%0D%0A+++++%7D%0D%0A+++%7D%0D%0A%0D%0A+++my+%24data%3D%27%27%3B%0D%0A+++if%28%24headers%7B_firstline%7D+%3D%7E+%2F%5EPOST%2F%29+%7B%0D%0A+++++read+%24sock%2C+%24data%2C+%24_headers%7B%27content-length%27%7D%3B%0D%0A+++%7D%0D%0A%0D%0A+++%24request+%3D+%24headers%7B_firstline%7D%3B%0D%0A+++%24request+%3D%7E+%2F%5E%28.*%3F%29+%28.*%29+HTTP%5C%2F%28.*%3F%29%24%2Fi%3B%0D%0A+++my+%24url++%3D+%242%3B%0D%0A+++my+%24method+%3D+%241%3B%0D%0A+++my+%24vers+%3D+%243%3B%0D%0A%0D%0A+++while+%28+my+%28%24host%2C+%24vd_refer%29+%3D+each+%25hosts+%29+%7B%0D%0A++++++%24url+%3D%7E+s%2F%24host%2F%24vd_refer%2Fig%3B%0D%0A+++%7D%0D%0A+++my+%24server+%3D+%28split+%2F%5C%2F%2F%2C+%24url%29%5B2%5D%3B%0D%0A+++delete+%24headers%7B_firstline%7D%3B%0D%0A%0D%0A+++print+LOG+%27Request+on+%27.%24url.%22%5Cn%22%3B%0D%0A+++print+%27Request+on+%27.substr%28%24url%2C0%2C64%29.%22...%5Cn%22%3B%0D%0A+++print+LOG+%27+++Request-Header%3A%27.%22%5Cn%22%3B%0D%0A+++while+%28+my+%28%24n%2C%24v%29+%3D+each+%25headers+%29+%7B%0D%0A++++++print+LOG+%27+%27+x+6+.+%24n+.+%27%3A+%27+.+%24v+.+%22%5Cn%22%3B%0D%0A+++%7D%0D%0A+++print+LOG+%27+++Request-Content%3A+%28Length%3A+%27.%24_headers%7B%27content-length%27%7D.%27%29%27.%22%5Cn%22%3B%0D%0A+++if+%28length+%24data%29+%7B%0D%0A++++++print+LOG+%24data+.+%22%5Cn%22%3B%0D%0A+++%7D%0D%0A%0D%0A+++my+%24ssock+%3D+new+IO%3A%3ASocket%3A%3AINET%28%0D%0A+++++PeerAddr+%3D%3E+%24server%2C%0D%0A+++++PeerPort+%3D%3E+80%2C%0D%0A+++++Type+++++%3D%3E+SOCK_STREAM%2C%0D%0A+++++Timeout++%3D%3E+120%0D%0A+++%29+or+next%3B%0D%0A%0D%0A+++delete+%24headers%7BConnection%7D+if+exists+%24headers%7BConnection%7D%3B%0D%0A%0D%0A+++print+%24ssock+%22%24method+%24url+HTTP%2F%24vers%5C015%5C012%22%3B%0D%0A%0D%0A+++foreach+%28keys+%25headers%29+%7B%0D%0A++++++print+%24ssock+%24_.%22%3A+%22.%24headers%7B%24_%7D.%22%5C015%5C012%22%3B%0D%0A+++%7D%0D%0A%0D%0A+++print+%24ssock+%22Connection%3A+close%5C015%5C012%5C015%5C012%22%3B%0D%0A+++print+%24ssock+%24data%3B%0D%0A%0D%0A+++print+LOG+%27+++Request+answer+from+%27.%24url.%22%5Cn%22%3B%0D%0A+++my+%24log+%3D+1%3B%0D%0A+++while+%28+%3C%24ssock%3E+%29+%7B%0D%0A++++++if+%28%24_+%3D%7E+%2F%5E%5Cs*%24%2F%29+%7B+%24log+%3D+0%3B+%7D%0D%0A++++++print+LOG+%27+%27+x+6+.+%24_+if+%24log%3B%0D%0A++++++print+%24sock+%24_%3B%0D%0A+++%7D%0D%0A%7D%0D%0A%0D%0Aclose+LOG%3B&url=http%3A%2F%2F&image=http%3A%2F%2F
Request answer from http://forum.de.selfhtml.org/cgi-bin/fo_posting.pl
HTTP/1.1 200 OK
Date: Sat, 17 Aug 2002 12:45:13 GMT
Server: Apache/1.3.26 (Unix) PHP/4.2.1 mod_gzip/1.3.19.1a
Connection: close
Content-Type: text/html; charset=ISO-8859-1