Jump to content

How to setup a socks proxy on free host

- - - - -

  • Please log in to reply
9 replies to this topic

#1
rohalamin

rohalamin

    Newbie

  • Members
  • PipPip
  • 15 posts
hey guys:crying:
i want create a socks proxy for surf the web very comfortable:rolleyes:. but, i don't use ssh or phpproxy or...
i like that i have a complete proxy. i want to use a free host.
i want a script till upload and shell my server and enjoy of it.
it must support very complete(cockie & uploading & downloading &...).

please help me!


Edited by Roger, 09 November 2011 - 10:16 AM.


#2
rohalamin

rohalamin

    Newbie

  • Members
  • PipPip
  • 15 posts
oh ****!!!
why don't answer!?:crying:


#3
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
Are you just looking for us to give you the script, or did you want to build it with some hints? If you just want us to point you to it, we'll just be running the google searches we would expect you to run.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#4
rohalamin

rohalamin

    Newbie

  • Members
  • PipPip
  • 15 posts

WingedPanther said:

Are you just looking for us to give you the script, or did you want to build it with some hints? If you just want us to point you to it, we'll just be running the google searches we would expect you to run.

hey WingedPanther,
thank you for answer!
i have a program by name
IndiaWebProxy.
for use, first you must upload 2 file php & ini that php content is this code:


<?php




// Set execution time : 5 mins

set_time_limit(300);

error_reporting(0);

// Should be same as defined in java constant file.

// should be between 1-50

$encKey =20;

/*

$myFile = "log.txt";

$fh = fopen($myFile, 'w') or die("can't open file");

fclose($fh);

$myFile = "log.txt";

$fh = fopen($myFile, 'a') or die("can't open file");

*/


$line = file_get_contents("php://input");

$encryptEnable = substr($line,0,1);

$line =  substr($line,1);



//fwrite($fh, ":INPUTTTTTTT:".$line.":INPUTTTTTTTTTTT:"); 


if($encryptEnable=="Y"){

$line = deccrypt_string($line);   }



$hostport = substr($line,0,61);

$bodyData = substr($line,61);

$line ='';


$host = substr($hostport,0,50);

$port = substr($hostport,50,10);

$issecure = substr($hostport,60,1);

//fwrite($fh, $host); fwrite($fh, $port);  fwrite($fh, $issecure); 


if($issecure=="Y"){

$host = "ssl://".$host;

}


$fsok = fsockopen(trim($host) , intval(trim($port))); 

if(FALSE == $fsok ) {echo "Target Host not Found/Down"; return ;}

fwrite($fsok, $bodyData ); 

$port ='';$host ='';$hostport= '';$bodyData='';


while ($line = fread($fsok, 25000))

{

if($encryptEnable=="Y")

echo encrypt_string($line);

else

echo $line;

}


fclose($fsok); 

//fclose($fh); 



///////////////////////////////////////////////////////////////////////////////////////


// Sample encrypt.Keeping the ouput size same.

function encrypt_string($input)   

{

global $encKey;   

$line="";

for($i=0;$i<strlen($input);$i++){

$line .= chr(ord($input[$i])+$encKey); 

}

    return $line;   

}   

  

// Sample decrypt.Keeping the ouput size same.

function deccrypt_string($input)   

{   

global $encKey; 

$line="";

for($i=0;$i<strlen($input);$i++){

$line .= chr(ord($input[$i])-$encKey); 

}

    return $line;   

}   


?>


and ini file:

register_globals = On

allow_url_fopen = On


expose_php = Off

variables_order = "EGPCS"

extension_dir = ./

upload_tmp_dir = /tmp

precision = 12

max_input_time = 300

max_execution_time = 300

post_max_size = 8M

upload_max_filesize =8M

output_buffering = 4096

expose_php = On

then, i must run a program by name IndiaWebProxy.jar & setting this program & my browser.
In the last enjoy of it.
this program is good, but it is'nt suport all!(for example: Uploading not suport or register in facebook not suport).


are you fix this program?

this is too program:


IndiaWebProxy.zip

#5
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
So, you have a java program you have to run to make stuff happen, and they don't support it. If it doesn't work, how do you know it's good?

Do you know what part of the process isn't working? Do you have web server logs that indicate problems?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#6
rohalamin

rohalamin

    Newbie

  • Members
  • PipPip
  • 15 posts

WingedPanther said:

So, you have a java program you have to run to make stuff happen, and they don't support it. If it doesn't work, how do you know it's good?

Do you know what part of the process isn't working? Do you have web server logs that indicate problems?

I don't tell to not work!
It's work. But, it isn't complete.
I think that the all of the process is work.
I uploaded the php file this place:




I think that the php & java program shoud change because it's work but incomplete(because not all suport(for example: uploading not work &...)).

Edited by rohalamin, 14 November 2011 - 09:08 PM.


#7
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
Are you talking about Set_time_limit() being disabled?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#8
rohalamin

rohalamin

    Newbie

  • Members
  • PipPip
  • 15 posts

WingedPanther said:

Are you talking about Set_time_limit() being disabled?
No my friend!
I don't know anything about php language.
can you complete this program(indiawebproxy) for me?
:D

#9
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
I have neither the time, nor the inclination, to do it for you. If you want help on doing it, you can post more details and others may help. If you want it done for you, post in the Request for Services section and decide what you are willing to offer, if anything.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#10
rohalamin

rohalamin

    Newbie

  • Members
  • PipPip
  • 15 posts

WingedPanther said:

I have neither the time, nor the inclination, to do it for you. If you want help on doing it, you can post more details and others may help. If you want it done for you, post in the Request for Services section and decide what you are willing to offer, if anything.
thank you, friend!
you mean this link:


Request Services




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users