Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to build docker with my db? #4

Open
whydee86 opened this issue Jul 14, 2019 · 4 comments
Open

how to build docker with my db? #4

whydee86 opened this issue Jul 14, 2019 · 4 comments

Comments

@whydee86
Copy link

Hi, I didn't understand how to build a docker with my nsrl file and load it for use to the full scan of malice.
I ran this command "

sudo docker run --rm malice/nsrl build

"
But I get the output level=fatal msg="open NSRLFile.txt: no such file or directory".
Now I think it needs to download new NSRL zip by shirk bash file am I wrong?

@blacktop
Copy link
Member

Do you have a special custom NSRL file? Or do you just want to build with the latest NSRL database files?

@whydee86
Copy link
Author

whydee86 commented Jul 17, 2019

Do you have a special custom NSRL file? Or do you just want to build with the latest NSRL database
files?

I need to know how I can build a docker with a special one(my NSRL file) and how I build docker with latest NSRL file.
thank you very much.

@blacktop
Copy link
Member

So the image should be using the LATESTs DB from nsrl, it picks the latest when it is built. If you wanted to make a new one you could run make build see here: https://github.com/malice-plugins/nsrl/blob/master/Makefile#L13

@blacktop
Copy link
Member

Here is the script that builds the DB from the NSRL.txt file: https://github.com/malice-plugins/nsrl/blob/master/shrink_nsrl.sh

If you wanted to use your own you could change this to point at your text file and run make build. However, the WHOLE point to this docker image and why in my opinion it is cool is that it takes the BIG txt file and changes it into a little bloom filter that is a few orders of magnitude smaller.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants