Skip to content

Instantly share code, notes, and snippets.

@LeonanCarvalho
Last active July 5, 2019 14:08
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LeonanCarvalho/c14bb94e1398622a079fd2b3d9b523e5 to your computer and use it in GitHub Desktop.
Save LeonanCarvalho/c14bb94e1398622a079fd2b3d9b523e5 to your computer and use it in GitHub Desktop.
L2j DDoS Servers List
netsh advfirewall firewall add rule name="IP Block AmericaNorte" dir=in interface=any action=block remoteip=104.129.192.0/20,104.131.0.0/16,104.154.0.0/15,104.196.0.0/14,104.232.128.0/19,104.236.0.0/16,104.237.0.0/20,104.237.128.0/19,104.244.72.0/21,104.245.68.0/22,104.248.0.0/16,104.32.0.0/14,104.40.0.0/13,107.170.0.0/16,107.172.0.0/14,107.191.32.0/19,107.191.96.0/19,108.184.0.0/15,108.58.0.0/16,12.125.0.0/16,128.199.0.0/16,134.209.0.0/16,138.197.0.0/16,138.68.0.0/16,139.59.0.0/16,142.93.0.0/16,146.185.144.0/21,159.65.0.0/16,162.243.0.0/16,162.244.80.0/22,165.227.0.0/16,167.99.0.0/16,178.128.0.0/20,178.128.144.0/20,178.128.192.0/20,184.104.0.0/15,184.154.0.0/16,188.166.224.0/20,189.224.0.0/12,198.108.0.0/14,198.199.64.0/18,206.189.0.0/16,208.157.144.0/21,209.97.128.0/18,216.218.128.0/17,24.159.0.0/16,24.30.0.0/18,24.30.64.0/19,37.139.8.0/20,45.55.0.0/16,46.101.128.0/17,68.183.0.0/16,75.146.48.0/20,76.96.0.0/17,96.64.0.0/19,97.72.0.0/15,97.75.64.0/18,98.0.0.0/12,98.160.0.0/11
netsh advfirewall firewall add rule name="IP Block AmericaCentral" dir=in interface=any action=block remoteip=141.98.80.0/22,185.232.67.0/24,85.93.20.0/24
netsh advfirewall firewall add rule name="IP Block Oceania" dir=in interface=any action=block remoteip=203.217.0.0/19
netsh advfirewall firewall add rule name="IP Block Europa" dir=in interface=any action=block remoteip=109.0.0.0/11,109.96.0.0/13,146.185.239.0/24,163.172.0.0/16,185.156.177.0/24,185.234.218.0/24,193.29.13.0/24,195.154.0.0/16,195.235.232.0/21,213.177.0.0/21,46.246.0.0/17,51.15.0.0/16,79.112.0.0/13,79.152.0.0/16,89.132.0.0/15,89.177.128.0/16,93.99.0.0/17,94.177.248.0/22,94.69.0.0/16,95.216.0.0/15,95.97.0.0/16
netsh advfirewall firewall add rule name="IP Block Africa" dir=in interface=any action=block remoteip=102.140.0.0/18,102.164.192.0/19,102.165.64.0/19,102.176.192.0/19,102.177.192.0/18,102.177.96.0/22,154.121.0.0/16,154.126.0.0/17,164.160.128.0/22,197.155.96.0/19,41.232.0.0/13,41.36.0.0/15,41.72.104.0/19,41.73.192.0/19,62.24.96.0/18,80.82.77.0/24
netsh advfirewall firewall add rule name="IP Block AmericaSul" dir=in interface=any action=block remoteip=170.238.40.0/22,190.238.105.0/15,190.238.105.0/24,190.72.0.0/14,190.82.128.0/17,191.100.0.0/16
netsh advfirewall firewall add rule name="IP Block Armenia" dir=in interface=any action=block remoteip=37.252.64.0/19
netsh advfirewall firewall add rule name="IP Block Bangladesh" dir=in interface=any action=block remoteip=103.103.124.0/22,103.106.118.0/23,103.106.32.0/22,103.106.56.0/22,103.94.128.0/22
netsh advfirewall firewall add rule name="IP Block Butao" dir=in interface=any action=block remoteip=220.158.236.0/22
netsh advfirewall firewall add rule name="IP Block Cambodja" dir=in interface=any action=block remoteip=110.74.192.0/19
netsh advfirewall firewall add rule name="IP Block China" dir=in interface=any action=block remoteip=1.202.0.0/15,1.80.0.0/13,101.128.0.0/22,101.132.0.0/15,101.16.0.0/12,101.200.0.0/15,101.224.0.0/13,101.254.0.0/16,101.64.0.0/13,101.78.200.182/17,101.80.0.0/12,106.12.0.0/15,106.75.0.0/16,110.184.0.0/13,111.0.0.0/10,111.192.0.0/12,111.72.0.0/13,112.109.128.0/17,112.224.0.0/11,112.64.0.0/15,113.96.0.0/12,114.104.0.0/14,114.112.0.0/18,114.112.232.0/23,114.113.64.0/18,114.64.0.0/16,115.199.0.0/16,115.238.243.0/24,115.238.244.0/23,116.196.64.0/18,116.224.0.0/12,116.52.0.0/14,117.80.0.0/12,118.112.0.0/13,118.180.0.0/14,118.184.168.0/21,118.193.128.0/17,118.194.128.0/19,119.120.0.0/13,119.28.0.0/15,119.84.0.0/14,120.40.0.0/14,120.52.0.0/16,120.76.0.0/14,120.92.0.0/16,121.40.0.0/14,122.114.0.0/16,122.224.0.0/12,123.160.0.0/14,123.188.0.0/14,123.249.0.0/16,124.250.0.0/15,124.88.0.0/16,125.104.0.0/13,125.64.0.0/13,134.175.0.0/16,14.16.0.0/12,152.136.0.0/16,171.208.0.0/12,171.8.0.0/13,175.152.0.0/14,175.160.0.0/12,180.160.0.0/12,180.76.0.0/16,183.0.0.0/10,183.160.0.0/13,183.192.0.0/10,203.76.212.0/22,210.12.0.0/15,218.108.0.0/15,218.200.0.0/13,218.22.0.0/15,221.208.0.0/14,221.224.0.0/13,222.128.0.0/14,222.184.0.0/13,222.222.0.0/15,222.80.0.0/15,222.88.0.0/15,223.240.0.0/13,223.64.0.0/11,27.115.0.0/17,27.156.0.0/17,27.184.0.0/13,27.8.0.0/13,36.128.0.0/10,39.128.0.0/10,39.64.0.0/11,42.51.0.0/17,42.63.0.0/16,49.51.0.0/16,58.100.0.0/15,58.208.0.0/12,58.242.0.0/15,58.60.0.0/24,59.32.0.0/12,60.12.0.0/16,61.140.0.0/14,61.153.184.0/21,61.160.0.0/16,61.183.0.0/16,61.184.0.0/16
netsh advfirewall firewall add rule name="IP Block Chine" dir=in interface=any action=block remoteip=217.148.0.0/20
netsh advfirewall firewall add rule name="IP Block EmiradosArabesUnidos" dir=in interface=any action=block remoteip=46.161.27.0/24
netsh advfirewall firewall add rule name="IP Block Filipinas" dir=in interface=any action=block remoteip=116.50.128.0/17,122.2.0.0/15,180.191.64.0/18,222.127.160.0/21,49.146.0.0/13,49.145.128.0/17,49.147.64.0/19
netsh advfirewall firewall add rule name="IP Block India" dir=in interface=any action=block remoteip=1.186.0.0/16,1.22.0.0/15,103.103.212.0/22,103.105.224.0/22,103.106.148.0/22,103.52.48.0/22,103.83.104.0/22,111.118.212.0/22,115.112.0.0/13,120.56.0.0/13,122.160.0.0/12,14.139.0.0/16,14.98.0.0/19,180.151.0.0/16,182.64.0.0/12,47.15.0.0/16
netsh advfirewall firewall add rule name="IP Block Indonesia" dir=in interface=any action=block remoteip=101.128.64.0/18,101.255.0.0/16,103.10.60.0/22,103.10.80.0/23,103.104.132.0/22,103.105.142.0/24,103.105.192.0/22,103.105.64.0/22,103.106.156.0/22,103.245.180.0/22,110.136.0.0/14,114.0.0.0/12,115.178.128.0/17,121.101.184.0/21,139.255.0.0/16,180.245.128.0/14,36.68.48.0/11
netsh advfirewall firewall add rule name="IP Block Iran" dir=in interface=any action=block remoteip=5.160.130.0/23,85.133.176.0 /20
netsh advfirewall firewall add rule name="IP Block Malasia" dir=in interface=any action=block remoteip=1.9.0.0/16,103.10.156.0/22,211.24.0.0/15,45.116.241.0/22,60.53.0.0/15
netsh advfirewall firewall add rule name="IP Block Palestina" dir=in interface=any action=block remoteip=185.132.248.0/22,37.8.96.0/19
netsh advfirewall firewall add rule name="IP Block Paquistao" dir=in interface=any action=block remoteip=103.100.188.0/24,119.73.0.0/17,58.27.208.0/20
netsh advfirewall firewall add rule name="IP Block Russia" dir=in interface=any action=block remoteip=109.120.128.0/18,176.113.0.0/19,176.212.0.0/14,178.140.0.0/16,185.176.24.0/22,185.254.120.0/22,188.242.0.0/15,193.106.212.0/22,212.20.0.0/18,217.148.48.0/20,221.120.160.0/22,31.44.48.0/20,45.8.156.0/22,62.213.92.0/18,77.246.96.0/21,80.93.176.0/20,82.114.224.0/19,92.38.8.0/21,92.63.176.0/20,92.63.192.0/20,93.94.144.0/20,95.24.0.0/13,95.78.0.0/15
netsh advfirewall firewall add rule name="IP Block Tailandia" dir=in interface=any action=block remoteip=1.0.128.0/17,1.1.128.0/17,1.10.128.0/17,1.179.128.0/17,1.2.128.0/17,1.20.0.0/16,101.108.0.0/15,101.51.0.0/16,103.10.228.0/22,118.172.0.0/14,182.53.0.0/15,223.24.0.0/16,49.228.0.0/15
netsh advfirewall firewall add rule name="IP Block Taiwan" dir=in interface=any action=block remoteip=1.175.0.0/12,1.34.0.0/15,211.20.0.0/14
netsh advfirewall firewall add rule name="IP Block Turquia" dir=in interface=any action=block remoteip=78.160.0.0/11
netsh advfirewall firewall add rule name="IP Block Ucrania" dir=in interface=any action=block remoteip=193.201.224.0/22,77.121.128.0/17,77.122.0.0/16,77.123.0.0/17,91.218.96.0/22,94.231.176.0/20
netsh advfirewall firewall add rule name="IP Block Vietna" dir=in interface=any action=block remoteip=103.48.192.0/22,113.160.0.0/11,123.16.0.0/12,124.158.0.0/20,171.224.0.0/11,183.81.0.0/17,203.162.0.0/16,210.211.96.0/19,210.245.0.0/17,43.239.224.0/22,45.119.80.0/22
@LeonanCarvalho
Copy link
Author

SELECT concat('netsh advfirewall firewall add rule name="IP Block ',continente,'" dir=in interface=any action=block remoteip=', group_concat(route)) as command FROM test.faixas_ips_atacantes where route <> "" and route is not null group by continente;

@LeonanCarvalho
Copy link
Author

SELECT concat('netsh advfirewall firewall add rule name="IP Block ',pais,'" dir=in interface=any action=block remoteip=', group_concat(route)) as command FROM test.faixas_ips_atacantes where route <> "" and route is not null and continente = 'Asia' group by pais;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment