Search:

Type: Posts; User: vbx_wx

Search: Search took 0.01 seconds.

  1. Get data from web browser using posix threads C++

    I am trying to implement this drawing using posix threads and sockets(TCP).


    webserver <--- proxy <--- client
    webserver ---> proxy ---> client


    I tried using 4 threads for every arrow.I want...
  2. Do i need to if i am using socks 5 ?

    Do i need to if i am using socks 5 ?
  3. Connection between proxy server and the server

    Can someone help me with some explination about how to translate in code a connection between a proxy and a browser.
    I can't navigate on the internet with the proxy running. The first part with the...
  4. Thread: Socks5 protocol

    by vbx_wx
    Replies
    15
    Views
    30,676

    I think i managed to resolved this in an easy...

    I think i managed to resolved this in an easy way,the diferents betweend the second packet i receive and the one i send is that only the second byte is changed,in rest the packets are the same,so a...
  5. Thread: Socks5 protocol

    by vbx_wx
    Replies
    15
    Views
    30,676

    I thought i was past the authentification but now...

    I thought i was past the authentification but now when i test it,the client hooked opera.exe,and when exchanged packets with it i got this:


    You are connected !!!
    ===Received=== 3 bytes received...
  6. Thread: Socks5 protocol

    by vbx_wx
    Replies
    15
    Views
    30,676

    I am doing this for somebody and he told me this:...

    I am doing this for somebody and he told me this:


    If you would like to test your socks5 server just start proxifier and start another program which connect anywhere in the internet. Proxifier...
  7. Thread: Socks5 protocol

    by vbx_wx
    Replies
    15
    Views
    30,676

    Sorry,i dont understand this: "thread the two...

    Sorry,i dont understand this: "thread the two connections separately". After the package exchange i called Connect("www.google.com", 80):


    void Connect(string address, unsigned short port)
    {...
  8. Thread: Socks5 protocol

    by vbx_wx
    Replies
    15
    Views
    30,676

    I change to see how much bytes i received and...

    I change to see how much bytes i received and send,and i dont use sizeof() anymore,am sending the exactly size of the packet.


    void HandleConnection()
    {
    cout << "You are connected !!!" <<...
  9. Thread: Socks5 protocol

    by vbx_wx
    Replies
    15
    Views
    30,676

    Here is how i done until now. void...

    Here is how i done until now.



    void HandleConnection()
    {
    cout << "You are connected !!!" << endl;
    char temp[30];
    Recv(temp, sizeof(temp));
    // Client sends 5,1,0 (version,nr of...
  10. Thread: Socks5 protocol

    by vbx_wx
    Replies
    15
    Views
    30,676

    Yes,you are right,i didnt understand that...

    Yes,you are right,i didnt understand that part,that there are just bytes.
    i have a question about the packets i receive using this protocol: for example,lets say a packet contans first field 1...
  11. Thread: Socks5 protocol

    by vbx_wx
    Replies
    15
    Views
    30,676

    I`ve written one before,but with a client and i...

    I`ve written one before,but with a client and i knew how they were because,i wrote the cleint part:P . So can you tell how they are send. I made a simple server like this:



    #include <iostream>...
  12. Thread: Socks5 protocol

    by vbx_wx
    Replies
    15
    Views
    30,676

    Socks5 protocol

    I need to make a server using this protocol,but my question is , how do I know how packets are sent from the client ? Using an array, a structure ? So i can test and sent the aproapite apcket back to...
Results 1 to 12 of 12