Z
Z
Zimaell2019-03-10 15:21:19
proxy
Zimaell, 2019-03-10 15:21:19

How to change ip list from tor (PHP)?

Having installed the tor "apt-get install tor tor-geoipdb" on his server and configured it, he began to use it for his own purposes, using the function to change ip

function tor_change_proxy(){
  $fp=fsockopen('127.0.0.1','9051',$error_number,$err_string,10);
  if(!$fp){ echo "Error while changing Tor proxy identity: {".$error_number."} : {".$err_string."}<br />"; return false; }
    else{ fwrite($fp,"AUTHENTICATE\n" ); $received=fread($fp,512); fwrite($fp,"signal NEWNYM\n" ); $received=fread($fp,512); }
  fclose($fp);
  return $received;
  }

I began to notice that ip is somewhere around 20-30, and in fact they are repeated.
Is there any way to update this list?
Or somehow set up so that you can set the ip blacklist, that is, so that the tor does not send these ip?
Or where can I find something like this...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zlo1, 2019-03-10
@zlo1

In onion routing, there is no way to control the last address of the chain
advice: use a proxy (socks4/5), tens of thousands of public proxies are freely available

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question