update garfbot and dockerfile

This commit is contained in:
crate 2024-09-30 21:48:52 +00:00
parent 16222c99ae
commit ec1fd506d0
2 changed files with 8 additions and 1 deletions

View File

@ -2,7 +2,6 @@ FROM python:3.11.10-bookworm
WORKDIR /usr/src/app WORKDIR /usr/src/app
COPY ./requirements.txt .
RUN apt update RUN apt update
RUN apt install -y iputils-ping RUN apt install -y iputils-ping
RUN apt install -y dnsutils RUN apt install -y dnsutils

View File

@ -59,6 +59,14 @@ def is_private(target):
except ValueError: except ValueError:
if "crate.lan" in target.lower(): if "crate.lan" in target.lower():
return True return True
if "crate.zip" in target.lower():
return True
if "memtec.org" in target.lower():
return True
if "crateit.net" in target.lower():
return True
if "garfbot.art" in target.lower():
return True
return False return False