[Olefy] Use local olefy.py (instead of Github)

This is temporarily until the issue fix is merged into master.
master
Niklas Meyer 2022-01-18 20:55:44 +01:00 committed by GitHub
parent cbb64e316e
commit 9f8a16b8c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ RUN apk add --virtual .build-deps gcc musl-dev python3-dev libffi-dev openssl-de
&& apk del .build-deps && apk del .build-deps
# && sed -i 's/decompress_stream(bytearray(compressed_code))/bytes2str(decompress_stream(bytearray(compressed_code)))/g' /usr/lib/python3.8/site-packages/oletools/olevba.py # && sed -i 's/decompress_stream(bytearray(compressed_code))/bytes2str(decompress_stream(bytearray(compressed_code)))/g' /usr/lib/python3.8/site-packages/oletools/olevba.py
ADD https://raw.githubusercontent.com/HeinleinSupport/olefy/master/olefy.py /app/ ADD olefy.py /app/
RUN chown -R nobody:nobody /app /tmp RUN chown -R nobody:nobody /app /tmp