Comments (5)
We're following current issue in yara-python VirusTotal/yara-python#212
At the moment you should be able at least to run our images, are available since some month and are working also if don't have latest updated dependencies.
So with docker-compose pull and then docker-compose up at least you should be able to use and try the tool.
from orochi.
So with docker-compose pull and then docker-compose up at least you should be able to use and try the tool.
Thank you @garanews But I get same error with docker-compose pull
and then docker-compose up
ubuntu:~/orochi$ sudo docker-compose pull
WARNING: The http_proxy variable is not set. Defaulting to a blank string.
WARNING: The https_proxy variable is not set. Defaulting to a blank string.
WARNING: Some services (worker) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use `docker stack deploy` to deploy to a swarm.
Pulling mailhog ... done
Pulling redis ... done
Pulling es01 ... done
Pulling kib01 ... done
Pulling scheduler ... done
ubuntu:~/orochi$ sudo docker-compose up
WARNING: The http_proxy variable is not set. Defaulting to a blank string.
WARNING: The https_proxy variable is not set. Defaulting to a blank string.
WARNING: Some services (worker) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use `docker stack deploy` to deploy to a swarm.
Building django
Step 1/42 : FROM python:3.10-slim-buster as common-base
---> 8addbbd4348f
<--snip-->
<--snip-->
Step 17/42 : RUN python setup.py build
---> Running in df2316ccb809
/usr/local/lib/python3.10/site-packages/setuptools/config/setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
warnings.warn(msg, warning_class)
running build
running build_ext
building 'yara' extension
creating build
creating build/temp.linux-x86_64-cpython-310
creating build/temp.linux-x86_64-cpython-310/yara
creating build/temp.linux-x86_64-cpython-310/yara/libyara
creating build/temp.linux-x86_64-cpython-310/yara/libyara/modules
creating build/temp.linux-x86_64-cpython-310/yara/libyara/modules/console
creating build/temp.linux-x86_64-cpython-310/yara/libyara/modules/demo
creating build/temp.linux-x86_64-cpython-310/yara/libyara/modules/elf
creating build/temp.linux-x86_64-cpython-310/yara/libyara/modules/hash
creating build/temp.linux-x86_64-cpython-310/yara/libyara/modules/math
creating build/temp.linux-x86_64-cpython-310/yara/libyara/modules/pe
creating build/temp.linux-x86_64-cpython-310/yara/libyara/modules/pe/authenticode-parser
creating build/temp.linux-x86_64-cpython-310/yara/libyara/modules/tests
creating build/temp.linux-x86_64-cpython-310/yara/libyara/modules/time
creating build/temp.linux-x86_64-cpython-310/yara/libyara/proc
creating build/temp.linux-x86_64-cpython-310/yara/libyara/tlshc
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -D_GNU_SOURCE=1 -DUSE_LINUX_PROC=1 -DHAVE_STDBOOL_H=1 -DHAVE_MEMMEM=1 -DHASH_MODULE=1 -DHAVE_LIBCRYPTO=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/local/include/python3.10 -c yara-python.c -o build/temp.linux-x86_64-cpython-310/yara-python.o -std=c99
yara-python.c: In function ‘convert_object_to_python’:
yara-python.c:479:27: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘long long unsigned int’ [-Wsign-compare]
if (object->value.i != YR_UNDEFINED)
from orochi.
With docker-compose pull no need to build the images, they are downloaded from repo, like do:
docker pull ghcr.io/ldo-cert/orochi_django:latest
docker pull ghcr.io/ldo-cert/orochi_worker:latest
docker pull ghcr.io/ldo-cert/orochi_postgres:latest
...
...
Anyway if you want to build, at the moment need to use v4.2.x branch of yara-python , to do so edit those 2 lines
https://github.com/LDO-CERT/orochi/blob/master/compose/local/django/Dockerfile#L50
https://github.com/LDO-CERT/orochi/blob/master/compose/local/dask/Dockerfile#L35
replacing with:
RUN git clone --branch v4.2.x --recursive https://github.com/VirusTotal/yara-python
from orochi.
Just tried with everything clean (no previous images built or created, just deleted everything with docker system prune -a).
I cloned repo with git clone https://github.com/LDO-CERT/orochi
and cd orochi
Then docker-compose pull
, when done docker-compose up
As you can see from screenshoot below, the images are pulled and not built:
Hope this helps.
By the way, which versions of docker and docker-compose are you using? Maybe you need to update those.
from orochi.
At the moment we rebuilt images with inside the pinned version of yara-python
git clone --branch v4.2.x --recursive https://github.com/VirusTotal/yara-python
The images build successfully.
from orochi.
Related Issues (20)
- ADD more info on foreign addr in netstat
- Add HEX viewer HOT 1
- Manage postgresql versions upgrade
- django crashing on docker-composer restart HOT 3
- add support to manage REMOTE_ISF_URL variable
- Internal Server Error on API "dumps/import_local/" HOT 1
- No plugins available in the list HOT 4
- [Django] Broken INTERNAL link on 127.0.0.1:8000 HOT 1
- IS there any ready-to-use Virtualbox image for orochi? HOT 1
- custom plugins error of Ooops!!! 500 HOT 2
- Custom Symbol Table Files HOT 2
- Issues with Complaints about no space when there is plenty HOT 4
- OFFLINE mode: Integrate JPCERT Windows Symbol Tables for Volatility 3
- why my plugins is empty?
- Read only users for educational. HOT 1
- ldap integration
- Re-run default enabled plugins HOT 1
- Run a plugin among different images
- column color is ok, but also image name would be useful HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orochi.