Advertisement
Guest User

Untitled

a guest
Dec 29th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.71 KB | None | 0 0
  1. # Chamar cada protecao de acordo com a ordem por nomes
  2. # Metodos de proteçao não listados nao serao chamados
  3.  
  4. # Não mexa se nao sabe o que significa
  5. Hanshake_Check:
  6. Ativado: true
  7.  
  8. # Blacklisting settings by: Bot-Sentry
  9. blacklisting:
  10. # Blacklisting mode ("file" or "both")
  11. # file - blacklisted ip will be saved to a special file
  12. # both - blacklisted ip will be saved to a special file and a System command will be run (e.g. to firewall it)
  13. #
  14. # P.S: If you decided to use "both" blacklisting mode, your server needs to be run using ROOT
  15. mode: both
  16. # Blacklist command.
  17. # If you are using Windows (instead of Unix-like system), replace the command with that one:
  18. # "cmd /c netsh advfirewall firewall add rule name=blacklist dir=in interface=any protocol=TPC localport=25565 action=block remoteip={ip}/32"
  19. add-command: "ipset -! -A blacklist {ip}"
  20. remove-command: "ipset -! -D blacklist {ip}"
  21. drop-command: "ipset flush blacklist"
  22. # System commands
  23. system-commands:
  24. # Command that will be executed to install the ipset package
  25. # Depending on your Linux distribution the install command might vary
  26. # These are some of the commands to install ipset using different package-management utilities:
  27. # "apt --yes install ipset" - APT (e.g. Debian, Ubuntu)
  28. # "yum -y install ipset" - YUM (e.g. CentOS, older versions of Fedora)
  29. # "dnf -assumeyes install ipset" - DNF (e.g. newer versions of Fedora)
  30. ipset-install: "apt-get --yes install ipset"
  31. # Command that will be executed to configurate the ipset
  32. ipset-configurate: "ipset create -! blacklist hash:ip hashsize 4096"
  33. # Command taht will be executed to configurate the iptables
  34. iptables-configurate: "iptables -I INPUT -p tcp --dport 25565:25600 -m set --match-set blacklist src -j DROP"
  35.  
  36. Protecao:
  37. - 'IP_BLOCK'
  38. - 'INVALID_REQUEST'
  39. - 'REJOIN'
  40. - 'FLOOD_LOGIN'
  41. - 'PROXY_BLOCK'
  42.  
  43. # Proteção para ataque que tenta derrubar o servidor usando Motd Request
  44. Ping_Protection:
  45. # O Servidor responderá o Ping se a quantidade de resquest por IP for menor
  46. Max_Success: 5
  47. # Caso o IP entre no servidor, será resetado
  48. Auto_Reset: true
  49. # Bloquear se o tempo de resquest simultâneo for menor
  50. Refresh_Request: 1000 # milisegundos
  51. Limitador:
  52. # Bloquear request se a quantidade de requests no ultimo segundo for maior
  53. Ativado: true
  54. Limite: 300
  55.  
  56. Bloqueio:
  57. # 0 = Bloqueio do IP permanente
  58. # 1 = Bloqueio de IP temporário
  59. Metodos:
  60. Temporario: 5 # minutos
  61. IP_BLOCK:
  62. Tipo: 1
  63. INVALID_REQUEST:
  64. Tipo: 1
  65. FLOOD_LOGIN:
  66. Tipo: 1
  67. PROXY_BLOCK:
  68. Tipo: 0
  69. INVALID_PROTOCOL:
  70. Tipo: 0
  71. INVALID_HANDSHAKE:
  72. Tipo: 1
  73. CHAT_SPAM:
  74. Tipo: 1
  75.  
  76. BlockTemp:
  77. Kick:
  78. - '&cVocê está temporariamente bloqueado'
  79. - '&cpor violar o protocolo anti bot'
  80. - '&c'
  81. - '&cDebloqueio em: &e%tempo%'
  82. - ' '
  83. - '&cCaso isso seja um erro,'
  84. - '&centre em contato com um administrador'
  85. AutoWhitelist:
  86. Ativado: true
  87. # Tempo em milisegundos
  88. Tempo: 60000
  89.  
  90. Blacklist:
  91. # Se ativado irá implementar lista de IPs detectado como proxy
  92. Global: true
  93. Externo: true
  94. Links:
  95. - "https://advanced-bot.com/api/proxy.php?ip=getall"
  96. - "https://api.proxyscrape.com/?request=getproxies&proxytype=http&timeout=10000&country=all&ssl=all&anonymity=all"
  97. - "https://api.proxyscrape.com/?request=getproxies&proxytype=socks4&timeout=10000&country=all"
  98. - "https://api.proxyscrape.com/?request=getproxies&proxytype=socks5&timeout=10000&country=all"
  99. - "https://raw.githubusercontent.com/clarketm/proxy-list/master/proxy-list.txt"
  100. - "https://www.proxy-list.download/api/v1/get?type=http"
  101. - "https://www.proxy-list.download/api/v1/get?type=https"
  102. - "https://www.proxy-list.download/api/v1/get?type=socks4"
  103. - "https://www.proxy-list.download/api/v1/get?type=socks5"
  104. - "https://proxy-daily.com/"
  105. - "https://www.duplichecker.com/free-proxy-list.php"
  106. - "https://www.hide-my-ip.com/pt/proxylist.shtml"
  107. - "https://smallseotools.com/free-proxy-list/"
  108. - "http://biskutliat.blogspot.com/"
  109. - "http://sockproxy.blogspot.com/"
  110. - "http://sock5us.blogspot.com/"
  111.  
  112. Ataque:
  113. # Jogadores entrando
  114. Sensibilidade: 30
  115. MensagemAtivado:
  116. - "&f======"
  117. - "&aAtaque de bot detectado"
  118. - "&aProteção %protection% ligada.."
  119. - "&f======"
  120. MensagemDesativado:
  121. - "&f======"
  122. - "&aAtaque de bot finalizado"
  123. - "&aProteção %protection% desligada.."
  124. - "&f======"
  125.  
  126. # Fazer o jogador relogar na primeira vez conectado ao Servidor
  127. REJOIN:
  128. IgnorarWhiteList: false
  129. SomenteEmAtaque: true
  130. UsarEmAtaque: true
  131. Kick:
  132. - '&cVocê foi expulso de nosso Sistema'
  133. - ' '
  134. - '&ePor favor, reconecte para validar seu login'
  135. - ' '
  136. - '&cCaso isso seja um erro,'
  137. - '&centre em contato com um administrador'
  138. KickConfirm:
  139. - '&cVocê foi expulso de nosso Sistema'
  140. - ' '
  141. - '&cAguarde %time%s para entrar novamente.'
  142.  
  143. # Negar conexões com Proxy/VPN
  144. PROXY_BLOCK:
  145. IgnorarWhiteList: false
  146. SomenteEmAtaque: false
  147. # recomendo desligado para não lagar
  148. UsarEmAtaque: false
  149. Kick:
  150. - '&cVocê foi expulso de nosso Sistema'
  151. - ' '
  152. - '&4Proxy detectado'
  153. - ' '
  154. - '&cCaso isso seja um erro,'
  155. - '&centre em contato com um administrador'
  156.  
  157. # Caso um IP atacar sem proxy, ele será bloqueado
  158. IP_BLOCK:
  159. IgnorarWhiteList: true
  160. SomenteEmAtaque: false
  161. UsarEmAtaque: true
  162. Kick:
  163. - '&cVocê foi expulso de nosso Sistema'
  164. - ' '
  165. - '&4Seu IP foi bloqueado'
  166. - '&4por floodar o login'
  167. - ' '
  168. - '&cCaso isso seja um erro,'
  169. - '&centre em contato com um administrador'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement