Review Anti-VPN Stable & Fiable for TS3 SERVER (Bash & PHP)

  • Thread starter Thread starter User_51885
  • Start date Start date
U

User_51885

Hi all the worlds!

i create SCRIPT Anti-VPN/Proxy by PHP & Bash for TS3 SERVER. very simple installation.


Git Hub Projet https://github.com/BadySmith/Bot-Query-TeamSpeak-PHP-AntiVPN-AntiProxy

Requirement :

1 - Server TeamSpeak Query access Server Admin
2 - System Server Debian/Ubuntu


Install SCRIPT :

Command 1 apt-get install unzip
Command 2 wget https://github.com/BadySmith/Bot-Query-TeamSpeak-PHP-AntiVPN-AntiProxy/archive/master.zip
Command 3 unzip Bot-Query-TeamSpeak-PHP-AntiVPN-AntiProxy-master.zip
Command 4 unzip Bot-Query-TeamSpeak-PHP-AntiVPN-AntiProxy-master.zip
Command 5 rm Bot-Query-TeamSpeak-PHP-AntiVPN-AntiProxy-master.zip
Command 6 mv Bot-Query-TeamSpeak-PHP-AntiVPN-AntiProxy-master TSAnti-Proxy
Command 7 cd TSAnti-Proxy
Command 8 chmod 555 *


Setting config robot :
Command 9 vim bot.php or nano bot.php

Command robot :
./menu.sh start ./menu.sh status ./menu.sh stop
 
Last edited by a moderator:

GammelNF

Member
Joined
Jul 7, 2016
Messages
19
Reaction score
3
Points
41
Is it also possible to put several groups in the ignorelist?
 

kalle

high minded
Contributor
Joined
Oct 28, 2015
Messages
411
Reaction score
253
Points
178
Is it also possible to put several groups in the ignorelist?
$ignore_groups = array('1','2','3');
Try with this, but not 100% sure in output. Non tested.
 

GammelNF

Member
Joined
Jul 7, 2016
Messages
19
Reaction score
3
Points
41
$ignore_groups = array('1','2','3');
Try with this, but not 100% sure in output. Non tested.
I will test it. Give me a few minutes!

---- Automatically Merged Double Post ----

The parameter is ignored during execution. : D
 
Last edited:

kalle

high minded
Contributor
Joined
Oct 28, 2015
Messages
411
Reaction score
253
Points
178
I will test it. Give me a few minutes!

---- Automatically Merged Double Post ----

The parameter is ignored during execution. : D
Its because in_array() is not expecting array to be passed. Instead you can foreach you array and than do if condition.
PHP:
$ignore_groups = array('1','2','3');
$groups = explode(",", $val['client_servergroups'] );
foreach($ignore_groups as $ig){
if(in_array($ig, $groups) || ($val['client_type'] == 1)) {
continue;
}
}
This should do the trick.
Again, I didnt tested and Im writing this from mobile so sorry for mistakes.
 

ULDIN

Well-Known Member
Joined
Mar 14, 2016
Messages
95
Reaction score
33
Points
108
good script, thenks bro :)
 

kalle

high minded
Contributor
Joined
Oct 28, 2015
Messages
411
Reaction score
253
Points
178
Where is bot code? I cant find it on github.

EDIT:

I found it and edit php file to support multiple ignore groups. Requested by GammeINF.

Github
 
Last edited:
U

User_73043

Hi Guys

I have the files installed on my Ubuntu LTS 18.04 server and yea, it just does not work for me.

The Bot is on the server, but he doses nothing and has the server Admin Server Query Group.
Also, the video links and download links in this Thread are all Offline or not so functional.
I don't know but someone can make a video tutorial about that ?

I have no idea what I'm doing wrong, someone can help me please.
 

Alligatoras

Administrator
Joined
Mar 31, 2016
Messages
2,570
Solutions
12
Reaction score
2,857
Points
381
The Bot is on the server, but he doses nothing and has the server Admin Server Query Group.
Actually, that's the job, it stays connected to the server and when it find a user with a vpn it kicks him.
 

kalle

high minded
Contributor
Joined
Oct 28, 2015
Messages
411
Reaction score
253
Points
178
Hi Guys

I have the files installed on my Ubuntu LTS 18.04 server and yea, it just does not work for me.

The Bot is on the server, but he doses nothing and has the server Admin Server Query Group.
Also, the video links and download links in this Thread are all Offline or not so functional.
I don't know but someone can make a video tutorial about that ?

I have no idea what I'm doing wrong, someone can help me please.
Try to enter with vpn.
 

kaitomar

Member
Joined
May 14, 2016
Messages
4
Reaction score
0
Points
33
I get this error and the bot dosent work some one know why?


PHP Warning: Invalid argument supplied for foreach() in /var/www/vhosts/xxx/httpdocs/antivpn/bot.php on line 29

e.Mod: Removed client's domain
 
Last edited by a moderator:

Bluscream

Retired Staff
Contributor
Joined
May 8, 2015
Messages
967
Reaction score
934
Points
211
Don't you think the prefix "Review" is a bit misleading on a thread by the author himself?
 
Top