Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(empty(exec("netstat -l |grep ':{$p[0]}'"))){
- system("mkdir '/var/lib/torx/tor{$i}'");
- system("chmod 2700 '/var/lib/torx/tor{$i}'");
- system("tor --RunAsDaemon 1 --CookieAuthentication 0 --HashedControlPassword '16:7kC' --ControlPort {$p[1]} --PidFile tor{$i}.pid --SocksPort {$p[0]} --DataDirectory /var/lib/torx/tor{$i}").PHP_EOL;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement