inlined yara-rules file creation
ci/woodpecker/push/static-analysis Pipeline failed Details
ci/woodpecker/push/builder Pipeline was successful Details
ci/woodpecker/push/vm-builder Pipeline was successful Details

main
Johannes Bülow 2023-09-19 09:44:46 +02:00
parent 87f9e02685
commit 990488c201
Signed by untrusted user who does not match committer: jmb
GPG Key ID: B56971CF7B8F83A6
1 changed files with 3 additions and 2 deletions

View File

@ -12,8 +12,9 @@ RUN wget https://mark0.net/download/trid_linux_64.zip \
&& chmod +x trid \ && chmod +x trid \
&& mv trid /usr/local/bin/trid && mv trid /usr/local/bin/trid
## YARA ## YARA
COPY ./yara-rules /usr/local/bin/yara-rules RUN git clone https://github.com/Yara-Rules/rules.git /usr/local/src/yara-rules \
RUN git clone https://github.com/Yara-Rules/rules.git /usr/local/src/yara-rules && echo "#!/bin/bash" > /usr/local/bin/yara-rules && echo 'yara -w /usr/local/src/yara-rules/index.yar "${*}"' >> /usr/local/bin/yara-rules \
&& chmod +x /usr/local/bin/yara-rules
## Detect-It-Easy ## Detect-It-Easy
RUN wget https://github.com/horsicq/DIE-engine/releases/download/3.08/die_3.08_Debian_12_amd64.deb -O die.deb\ RUN wget https://github.com/horsicq/DIE-engine/releases/download/3.08/die_3.08_Debian_12_amd64.deb -O die.deb\
&& apt-get install --no-install-recommends -y ./die.deb && apt-get install --no-install-recommends -y ./die.deb