Author Topic: M-U-T-E M-F-C [Http Proxy für TOR-PRIVOXY] E-D-I-T-I-O-N  (Read 5568 times)

0 Members and 1 Guest are viewing this topic.

Offline crypton

  • Elite
  • *****
  • Posts: 1699
  • Karma: +10/-0
    • View Profile
M-U-T-E M-F-C [Http Proxy für TOR-PRIVOXY] E-D-I-T-I-O-N
« on: July 21, 2006, 02:43:14 PM »
hi

Dank tym100 habe ich gesehen das ein http proxy patch existiert  8)
http://aa.vslib.cz/silk/projekty/mute/index.php

i habe webclient.cpp modifiziert um http proxy zu nutzen.
127.0.0.1:8118als Proxy hinzugefügt
wenn du TOR + privoxybenutzt kannst du anonym zum webcache connecten.
Nur wenn TOR + privoxy aktive ist.!

Wenn TOR+ PRIVOXY  oder Privoxy nicht aktive ist gehts ohne Proxy!

modifizierter bereich in WebClient.cpp:

Quote
        /* silk-mod-start
      HostAddress *host = new HostAddress(
        stringDuplicate( serverNameCopy ),
        portNumber ); silk-mod-end*/
        HostAddress *host = new HostAddress(
        stringDuplicate( "127.0.0.1" ),
        8118 );
           
    Socket *sock = SocketClient::connectToServer( host );

    char *finalURL = stringDuplicate( inURL );
    char *mimeType = NULL;

    int receivedLength = 0;

   
    if( sock != NULL ) {
        SocketStream *stream = new SocketStream( sock );

        // method and trailing space need to be sent in the same
        // buffer to work around a bug in certain web servers
        char *methodWithSpace = new char[ strlen( inMethod ) + 2 ];
        sprintf( methodWithSpace, "%s ", inMethod );
       
        // send the request
        stream->writeString( methodWithSpace );
        /*silk-mod-start stream->writeString( getPath ); silk-mod-end*/
        stream->writeString( inURL );
        stream->writeString( " HTTP/1.0\r\n" );
        stream->writeString( "Host: " );
        stream->writeString( serverNameCopy );
        stream->writeString( "\r\n\r\n" );




Download win32 MUTE-MFC http proxy Edition :
MFC_MUTE.zip