Hello.
Request: The change of [login to view URL] script and the programming of [login to view URL] during two projects
I do have a php script ([login to view URL]) for setting up a socks5 proxy server. As an assumption, this code acts like this:
listening on a certain port, receives the Requests and transfers them to the host and then sends the received response to the client. For example, I do Configure socks 5 proxy settings in the firefox browser and requests are receive and send. (via script)
I decide to change the script as below:
[browser(Client) <=> [login to view URL](Client) <=> [login to view URL](server) <=> remote Host]
==Project 1==
1) The script is performed in client local (e.g. IP [login to view URL] and port 1083 with This Command $[login to view URL] c:\www\[login to view URL]) and the client configure its browser on IP [login to view URL] and port 1083. The script encrypts the requests and sends all of them to a specified host as ([login to view URL]) with the post or put method.
2) The [login to view URL] script receives the requests on the server, decrypts and sends them to the remote host and receives the response from it. The script encrypts the received response and sends it to the client ([login to view URL]).
3) The [login to view URL] script receives the result from the server ([login to view URL]) and sends it to the browser after decrypting it.
==Project 2==
This project acts like the first one but there some differences.
in project1 the [login to view URL] local script sends the requests through the post or put method to [login to view URL];
in project2, I want [login to view URL] forwards requests to a specified port in server like [login to view URL], is waiting for the result and then sends it to the browser after receiving.
Also, the [login to view URL] script is run in the server with this command: $[login to view URL] c:\server\www\[login to view URL] and listening on a certain port like 8080.
==Problems==
Problems on performing project 1:
-Since the browser in header sends the request (keep-alive: connection), the [login to view URL] script in server keeps its connection with the host and the socket is not closed; however, the script has received the response from the host earlier.
-It cannot upload any file.
-It cannot open the ssl sites (https).
==Additional Explanation==
Encrypting can be done by using a simple method as below:
function encrypt($input)
{global $Key; $line=""; for($i=0;$i<strlen($input);$i++){$line .= chr(ord($input[$i])+$Key); } return $line;}
function deccrypt($input)
{global $Key; $line="";for($i=0;$i<strlen($input);$i++){$line .= chr(ord($input[$i])-$Key); }return $line;}
Whether the project is done? (so that it can be able to upload the file and open the https sites)
The [login to view URL] file is given to the programmer.
The proposed price (offer) for doing both projects is 20-50 USD!
Hi. We are satisfied with your explanation. We think You already put in much time resolving your problems.
But If you contact to us, We will send you the perfect result.
Thanks.