Script AutoBlockIPList


Recommended Posts

Buenas gente:

 

He encontrado este script que autoactualiza las lista IP del firewall desde la pagina web que nosotros introduzcamos, lo he probado pero no se puedo asegurar si funciona ya que en el reporte me sale este error:

 

File "/volume1/scripts/AutoBlockIPList.py", line 32
verbose(f"Unable to connect to {link}")

File "/volume1/scripts/AutoBlockIPList.py", line 41
data = [get_ip_local(f).split("\n") for f in local] + [get_ip_remote(s).split("\n") for s in external]
^
IndentationError: expected an indented block
sh: line 3: https://blacklist.3coresec.net/lists/all.txt: No such file or directory

 

Alguien sabe como solucionarlo?

La pagina del autor es: https://github.com/kichetof/AutoBlockIPList

 

Gracias.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.